Archive for the ‘PHP’ Category
Recursively reading files based on search option in PHP 4 and 5
Sunday, July 17, 2011 6:36 2 CommentsRecursively 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#.
Detecting URL and Making it as link in Text
Sunday, July 17, 2011 4:20 1 CommentWe 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.
Moving large file from one server to another server without downloading locally
Monday, July 11, 2011 16:07 1 CommentHere is the simple script to copy large file from one server to another server without downloading it to local machine.
Script to Log into an SMTP server – phpmailer
Monday, July 11, 2011 14:59 4 CommentsBest way to read and send mails is log into an SMTP server.
How to get the current url in PHP?
Wednesday, March 23, 2011 7:27 No CommentsHere is simple code to get the current url in PHP
Quickly retrieving HTTP response status code of URL using HEAD method in PHP
Sunday, July 4, 2010 14:35 No CommentsHere is simple to retrieve the HTTP response status code of URL using HEAD method in PHP.
Keep x latest files and delete remaining files from particular directory
Friday, July 2, 2010 1:37 No CommentsHere is the useful code in PHP to keep x latest files and delete remaining files from particular directory
Finding image url is valid or not in PHP
Thursday, June 17, 2010 4:01 No CommentsHere is the very useful function to find image url is valid or not in PHP