Recursively reading files based on search option in PHP 4 and 5
Sunday, July 17, 2011 6:36Recursively reading files based on search option in PHP 4 and 5. It is a small script written in equivalent to Directory.GetFiles method in C#.
Recursively reading files based on search option in PHP 4 and 5. It is a small script written in equivalent to Directory.GetFiles method in C#.
We might be having large text, with urls without links. Instead of editing the text or post, we can make the url as link dynamically while displaying it in browser.
Here is the simple script to copy large file from one server to another server without downloading it to local machine.
Best way to read and send mails is log into an SMTP server.
Here is simple code to get the current url in PHP
Read the rest of this entry »
Most of the time we need to copy the stored procedures from development to production database server. That time we need to find out list of stored procedures modified. Here is the simple sql query to order the stored procedures modified.
Read the rest of this entry »
Here is simple to retrieve the HTTP response status code of URL using HEAD method in PHP.
Read the rest of this entry »
Here is the useful code in PHP to keep x latest files and delete remaining files from particular directory
Read the rest of this entry »
Here is the useful Javascript function, which retrieves the Server Date Time from PHP and stores into Javascript variable. Finally runs the timer in Javascript.
Read the rest of this entry »
Here is the very useful function to find image url is valid or not in PHP
Read the rest of this entry »