SQL PHP HTML ASP JavaScript articles and free scripts to download

ini_set to update settings of php.ini file

We can't change all the configured settings of php.ini file. PHP will permit to change some data by using ini_set function. We will verify after changing the configured data by using ini_get function. Here is the code. Please note the outputs shown here will change based on your server settings when you try.

echo ini_get('mysql.connect_timeout'); // OUTPUT 60
ini_set('mysql.connect_timeout',100);
echo "<br>";
echo ini_get('mysql.connect_timeout'); // output 100


Google+
infinity08-04-2011
this is not done plz give us brief discription of ini_set functions limit
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked



Join Our Email List
Email:  
For Email Newsletters you can trust
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2014 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer