Archive for July 13th, 2010

I have encountered a problem when moving an old website to a newer server. Older website was using 'HTTP_POST_VARS' which is deprecated in PHP5 and there were thousands of files included older version variable. Here's the solution using  regular...

Ascii to UTF8 converter. This program is useful when you're working with foreign websites. Just drag and drop a folder, then you can choose which file extensions to convert. All subdirectories and files are added to work list, so you can save time if you...

PHP supports mysql_escape_string but if you use PHP with MSSQL you need to use your own method. Here's the code snippet to escape characters. A better solution than using addslashes. function ms_escape_string($data) { if ( !isset($data) or...

Categories

Calendar

July 2010
M T W T F S S
    Aug »
 1234
567891011
12131415161718
19202122232425
262728293031