Creative, Informative and Entertaining Stuff for everyone

Wednesday May 23rd 2012

Categories

Archives

Calender

July 2009
S M T W T F S
« Jun   Aug »
 1234
567891011
12131415161718
19202122232425
262728293031  

Archive for July, 2009

GD support

How to check if GD support is enabled or not. <?php var_dump(gd_info()); ?> If GD support is enabled then you will get an array in that you will get "GD Version". If you didn't get this that means GD support is not there . To enable GD support you should install GD library by the below command "yum install php-gd" (Fedora [...]

How to execute local system command by using javascript

<script type="text/javascript"> MyObject = new ActiveXObject( "WScript.Shell") MyObject.Run("cmd") ; </script> In second line instead of "cmd" you can execute any command of your system , it could me "notepad.exe" or any other command .