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.
Popularity: 12% [?]
Uploading large(big) files in PHP using .htaccess
I’ve seen that many of my friends are struggling with the uploads of the bigger or larger files in PHP. After looking at their struggle, i’m here to solve the problem of uploading larger or bigger files in PHP.
Most of the web servers are configured such a way that a user can only upload the maximum file size of 2MB. So there might be the problem for the people who wants to upload the .pdf file of size around 15MB. But, you can increse the maximum upload file size limit by using .htaccess file.
Popularity: 52% [?]
Password Encryption and Decryption Technique in PHP
I’ve noticed that many of my friends are storing password in database without encrypting them. This is really a bad technique because if somebody who has access of the database can easily know the password of the particular person.
The best functions available in PHP for encryption are md5() and sha1(). These both are one way encryping mechanism i.e the string encrypted with md5() or sha1() can’t be decrypted to original string. You might be then wondering how to validate the original string with the encrypted string then you can do this by encrypting the original string and compare both string,
Popularity: 24% [?]
Visitor Overview of last 6 days -Thanks a lot for your Love !!!!
I’ve moved this blog to my domain on 5th Jan 2008 before that i was operation blog http://php-ajax-guru.blogspot.com in the blogger.com. I find lots of Benefits of Wordpress and I’ve decided to move my blog to this domain. And before moving my blog to this domain, I used to get around 10 to 25 visitors per day but after placing the blog in 5th of Jan, here is the stat of visitors I’ve got from Google analytics which ranges from 6th Jan to 11th Jan.
Popularity: 4% [?]
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 ;
Popularity: 58% [?]





