Tagged: setting


How to Change PHP Settings

Sometimes while we programming with PHP we require to change some php.ini settings. so how to change php settings, There are several ways. Using php.ini Using .htaccess file Using ini_set() function Using php.ini In this method we should have direct access of php.ini file, in which you can make change in settigs and restart the […]


Export Data to CSV Using PHP

It is many time we need to export table data to CSV in our most of applications. There is a simple code to export data to CSV using PHP Code: if($_GET[‘action’] == ‘export’) { $titlearr = array(“Heading 1″,”Heading 2″,”Heading 3″,”Heading 3″,”Heading 4″); $q = mysql_query(“select field1, field2, field3. field4 from where table”); $columns = count($titlearr); […]

How to Change The Value of a PHP Setting

You can apply custom PHP settings on a per-folder basis using a local php.ini file. For example, you need register_globals set to Off in a directory. For this purpose you should log in your cPanel and go to the File Manager. There navigate to the directory where you’d like this setting applied. In this directory […]

500 Internal Server Error PHP

You often get “500 – Internal server error” error message when a user tries to access your Apache based dynamic PHP application. Mainly, to solve this problem, you need to check error logs located here, >> var/log/message >> /var/log/httpd/error_log This error only occurs when there is a issue in your web server. This problem can […]

How to Set .htaccess php_value

There is a simple syntax to that answers how to set htaccess php_value for example if we want to set max_execution_time, php_value max_execution_time 120 Above code put in your apache htaccess file will set the configuration. How about You? Feel Free to comment on this.

jQuery Against Flash

On near 1996, Macromedia realsed their product called Macromedia Flash which is vector based animation platform. Using Flash, web designer were now able to make animation using a timeline as video. Only one thing is annoying to enjoy flash stuff is macromedia flash player, that need to install. When, Javascript is arrive on around 1997, […]