🙂
Hello!
Say you have some php scipt in a directory.
And your own php.ini settings is in file 'mysetting.php'
This is a page 'index.php'
<?php
include 'mysettings.php';
// rest of index.php
?>
This is the file that can be included of any php page:
<?php
// my local php.ini settings
ini_set( "allow_url_fopen", "1" );
ini_set( "error_reporting", "E_ALL" );
ini_set ( "file_uploads", "0" ); // no files upload allowed
?>
I found this using a very good site! I think everybody should visit.
It is called 'Google' -> http://www.google.com/
Links references:
http://www.phpfreaks.com/tutorials/10/0.php
http://php.net/ini-set
http://php.net/manual/en/ini.php#ini.list
http://www.google.com/search?hl=en&q=override+%22php.ini%22&btnG=Google+Search
References by: halojoy
🙂