Buy me a coffee
Spammers!
If you are going to put nonsense comments on my articles at least have the decency to click one of these adverts while you are here.
Even if you are a regular visitor you click a couple of ads while you are here - you might find something you want.
You May Also Like…
Cloud
accessibility block browser cache chrome chunk cms concrete5 CSS curl database date error file firefox form get href ie image input iphone javascript JQuery link magento MODx myqsl MySQL php post profile Revolution select Server session snippet spellcheck spelling table textarea tinymce w3c wordpress xmlInfo
Yes, the images are ambiguous;
Yes, they came from Google images;
No, I didn't get permission to use them*;
I know Magento called isn't Magneto;
And...
Why do spammers who hit this site do it with such a bizarre use of the English language?;
PHP Archive
-
Stop simplexml_load_file() 500 Errors in PHP
Posted on 22/12/2011 | No CommentsIf you find that you are receiving 500 errors with simplexml_load_file() but you can access the xml/rss feed manually through... -
Format the Byte Size of a File Using PHP
Posted on 20/12/2011 | No CommentsWhen using filesize() wrap it in the function to display the size in a nice format: function format_bytes($size) { $units... -
Change the time on a file using php touch()
Posted on 20/12/2011 | No CommentsUsing touch() it is possible to alter the time stamp on a file by doing the following: $time = time()... -
How to Fix Fatal error: Call to undefined function: getallheaders()
Posted on 12/12/2011 | No CommentsIf your script cant find the function "getallheaders()" php might not be installed as Apache-module – saying that I have... -
Get Information About a YouTube Video Using PHP
Posted on 07/12/2011 | 1 CommentYo can get the information about a YouTube video using the following. There is more available in the xml file... -
How to Find a Url in a String and Wrap a Link Around it
Posted on 10/11/2011 | No CommentsOccasionally you have a string and you need to find the urls in it and convert them into fully functioning... -
Display Your Latest Tweet Using PHP
Posted on 24/10/2011 | No CommentsUpdated to add links automatically To display your latest Tweet using PHP use this: function latest_tweet($username,$tweetnumber){ $url = "http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=$username&count=10"; $xml... -
Adding Zebra Stripes to a Table in a PHP String
Posted on 24/10/2011 | No CommentsIf there is a table within a text string, such as the content area of a CMS, you may wish... -
Force the use of the www on a domain
Posted on 12/08/2011 | No CommentsSometimes it is necessary to redirect all requests to the www subdomain. Here's how to do it (this should be... -
Get the Time Difference Between Two Dates Using PHP
Posted on 10/08/2011 | No CommentsTo compare 2 dates in php use this function: function get_time_difference($start,$end) { $uts['start'] = strtotime( $start );...








![Get the Time Difference Between Two Dates Using PHP To compare 2 dates in php use this function: function get_time_difference($start,$end) { $uts['start'] = strtotime( $start );...](http://www.unchi.co.uk/wp-content/uploads/2011/08/international-date-line-115x115.jpg)