PHP Sample code from Developer Fusion https://www.developerfusion.com/t/php/code/sort/popularity/ PHP Sample code from Developer Fusion http://www.rssboard.org/rss-specification en-GB Mon, 05 Apr 2004 05:57:00 GMT Determine execution time in PHP This is based on the ASP script posted by Lio. It will determine the time taken for a php script to execute correct to 0.000000000000001 seconds. http://www.developerfusion.com/code/2058/determine-execution-time-in-php/ http://www.developerfusion.com/code/2058/determine-execution-time-in-php/ Fri, 08 Mar 2002 07:13:00 GMT Gringod How to create XML files How to generate XML files in PHP using its new_child function. http://www.developerfusion.com/code/3944/how-to-create-xml-files/ http://www.developerfusion.com/code/3944/how-to-create-xml-files/ Wed, 13 Aug 2003 10:23:00 GMT Edward Tanguay Create Hashes - MD5, SHA1, SHA256, SHA384, SHA512 In PHP its a simple task to generate hashes, but in C# it takes a little more work. We'll create a Hash class to simplify the process. http://www.developerfusion.com/code/4601/create-hashes-md5-sha1-sha256-sha384-sha512/ http://www.developerfusion.com/code/4601/create-hashes-md5-sha1-sha256-sha384-sha512/ Mon, 05 Apr 2004 05:57:00 GMT David Cumps Storing / Retrieving pictures from database This sample code demonstrates how to save and retrieve pictures from a database using PHP. http://www.developerfusion.com/code/2667/storing-retrieving-pictures-from-database/ http://www.developerfusion.com/code/2667/storing-retrieving-pictures-from-database/ Fri, 05 Sep 2003 08:56:00 GMT Imthiaz Rafiq Executing a .CS file Demonstrates how to write a C# program that can "launch" a .cs file and execute it. http://www.developerfusion.com/code/4590/executing-a-cs-file/ http://www.developerfusion.com/code/4590/executing-a-cs-file/ Wed, 31 Mar 2004 06:53:00 GMT David Cumps Get metadata on MySQL databases An example of how to get metadata - such as all the databases on the server, all of their tables, and the corresponding field information for that table. http://www.developerfusion.com/code/3945/get-metadata-on-mysql-databases/ http://www.developerfusion.com/code/3945/get-metadata-on-mysql-databases/ Wed, 13 Aug 2003 10:26:00 GMT Edward Tanguay Accessing COM objects from PHP How to load a Windows COM object from a PHP script http://www.developerfusion.com/code/1753/accessing-com-objects-from-php/ http://www.developerfusion.com/code/1753/accessing-com-objects-from-php/ Wed, 17 Oct 2001 16:06:00 GMT Alt-PHP-Faq Replace only the first occurance in a string How to replace only the first occurance of some text in a string http://www.developerfusion.com/code/1750/replace-only-the-first-occurance-in-a-string/ http://www.developerfusion.com/code/1750/replace-only-the-first-occurance-in-a-string/ Wed, 17 Oct 2001 15:51:00 GMT Alt-PHP-Faq Getting Started with Database Programming This is a conceptual idea of how I start to do database programming. In this article, I had highlighted a few points that become vital to understand for any new comers to do database programming. http://www.developerfusion.com/code/1936/getting-started-with-database-programming/ http://www.developerfusion.com/code/1936/getting-started-with-database-programming/ Sun, 24 Feb 2002 11:24:00 GMT gigsv00 Determine if a variable is numeric How to determine if the contents of a variable is numeric http://www.developerfusion.com/code/1666/determine-if-a-variable-is-numeric/ http://www.developerfusion.com/code/1666/determine-if-a-variable-is-numeric/ Fri, 28 Sep 2001 17:40:00 GMT James Crowley Output number with leading zeros How to output a number with leading zeros http://www.developerfusion.com/code/1754/output-number-with-leading-zeros/ http://www.developerfusion.com/code/1754/output-number-with-leading-zeros/ Wed, 17 Oct 2001 16:09:00 GMT Alt-PHP-Faq PHP Port Scanner An object-oriented port scanner class. Can be used for scanning any number of ports on a range of ip-addresses. Useful for checking you network for un-authorised webservers or possible trojans. http://www.developerfusion.com/code/3088/php-port-scanner/ http://www.developerfusion.com/code/3088/php-port-scanner/ Fri, 05 Sep 2003 08:47:00 GMT Gringod Domain scanner This simple code gets a list of domains with a certain extension from google.com http://www.developerfusion.com/code/1923/domain-scanner/ http://www.developerfusion.com/code/1923/domain-scanner/ Wed, 20 Feb 2002 08:28:00 GMT Akas Triono Hadi Total size of a directory How to calculate the total size of a directory from a PHP script http://www.developerfusion.com/code/1755/total-size-of-a-directory/ http://www.developerfusion.com/code/1755/total-size-of-a-directory/ Wed, 17 Oct 2001 16:10:00 GMT Alt-PHP-Faq