Archive for the ‘Coding Tips’ Category

One of my coworker has reached her maximum outlook PST file size which is 20GB. (windows 7) Run "regedit" and look for keys under for Policy change : "HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Outlook\PST" for User preference...

html table edit javascript ajax jquery This is a library that can edit HTML page contents on the screen. Just cilck the text (div in cell) and edit. It can also be used as ajax to update/retrieve data from database. Request is sent to save.php...

August 3, 2010 | In: Coding Tips

Batch mp3/mp4 encoding

Let's say you have a bunch of folders and endless list of media files, and you want to encode them into h264 and mp3 format. Since there are good open source encoders (in this case x264, ffmpeg, lame) all you need to do is just write a simple script to...

This script checks DB server and sends alert emails in case of server problem. Written in PHP by Alexander Selifonov Download

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...

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

September 2010
M T W T F S S
« Aug    
 12345
6789101112
13141516171819
20212223242526
27282930