Archive for the ‘tutorial’ Category

Page 8 of 8« First...45678

USA’s phone number validation using Regular expression in PHP

Last day i saw that one of my friend looking for the validation script in PHP which post the phone no (number) of USA from the text box and wanted to validate it from PHP in the following format. Full story

How to run a php file(script) automatically in a certain interval – Using Cron job

In your project you might have to run a function or script (.php) file automatically for a various reasons like automatic sending email on birthday or automatically close a auction when the end_time is reached. What to do in that situation? .To do these things automatically, you must have a php file which must contains the code and these files should be called automatically at certain certain time. So how to do that? The answer is Cron Job. Cron job are the cron tab command found in the UNIX or Linux system. Now let's see how can we call the file automatically at certain duration. Let's suppose the duration is one hour, now I'll show you how to setup the the cron-job of every one hour to run a PHP file automatically in the Cpanel of your website. Full story

Slider Using PHP, Ajax And Javascript

Have you been searching for the slider script and implementing it in Ajax with PHP then you are in the right place buddy.Here is the post for you in which I've implemented javascript slider to work in Ajax using PHP. Ok let's Begin it by creating the following tables in the database. Here is the mysql code to create the table named "tbl_slider" in database. CREATE TABLE `tbl_slider` ( `id` smallint(6) NOT NULL auto_increment, `slider_val` smallint(6) NOT NULL default '0', PRIMARY KEY (`id`) ) TYPE=MyISAM ; Full story

Password protect a page using HTTP Authentication in PHP

Have ever been thorough cpanel ? when you open the link of cpanel, you can see a pop up which ask for entering user name and password for login. Well in my article I'm going to show you how you can build the same kind of page protecting mechanism using http authentication in PHP. Full story
Page 8 of 8« First...45678
Copyright © 2012 Roshan Bhattarai's Blog. All rights reserved.
Powered by WordPress.org, Custom Theme and ComFi.com Calling Card Company.