Get Name from Email Address

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub Check out this simple and easy function for extracting the name from an email address. It’s not very advanced but it is quite handy. Of course it could be used for similar applications by simply changing the character to split on. Read On →

Freelance osCommerce UK

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub It seems that there are many UK webmasters who struggle to find a reliable UK based web developer who specialises in PHP. I have heard stories of people who claim to be osCommerce experts but in reality they simply know how to install a few contributions and that’s about it. Read On →

PHP Random Sleep Function with Flush

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub Sometimes you want your script to pause for a short period of time before repeating a loop or proceeding to the next step. This may be to reduce server load or even to simulate the natural pauses that a person would make whilst browsing a site. Read On →

PHP 301 Redirect Function with Headers Check and Javascript Fallback

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub If you are changing your URL structure, for example when moving to a search engine friendly URLs system, you need to be able to let Google and all the other search engines that the page has moved to the new URL. Read On →

osCommerce Contribution Released: Server Migration Synchronisation

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub Server Migration Orders / Customers Synchronisation This contribution is for people who have moved or are moving server. When this happens you have to update your DNS records to point your domain name at your new server. Read On →

PHP Generated SQL

This is post is now quite old and the the information it contains may be out of date or innacurate. If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub If you find yourself laboriously building SQL queries by typing each field = ‘value’ statement… think again. Imagine this: $sql_query = mysql_query("select * from table"); $insert_elsewhere_sql = "INSERT INTO other_table SET "; while($s = mysql_fetch_assoc($sql_query)){ foreach($s as $k=>$v){ $insert_elsewhere_sql .= "$k = '$v', "; } $insert_elsewhere_sql = substr($insert_elsewhere_sql, 0, -2); This will generate a valid SQL insert statement with all of your field, value pairs set up. Read On →