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 .
Latest music . videos and songs
PHP Manual