fredh
02-22-2004, 10:03 AM
Hey all,
While trying to debug another problem I'm having, I noticed that I am unable to ini_set or ini_get most of the fopen wrapper configuration directives.
In the php.net manual (http://ca3.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen), there is a listing of all the config directives that we should be able to set/get.
To test things out, I opened my php.ini file and inserted the user-agent directive, setting it to something like "blah", but nothing comes up in my scripts when I ini_get the value.
Also, in the phpdig phpDigSetHeaders(...) function, the ini_set function returns false.
The only directive that seems to be working is allow_url_fopen.
I'm using PHP v.4.1.2 on a Linux platform with Apache 1.3.26.
Has anyone ever encountered this strange behaviour before? Is there a flaw in my logic?
Any insight would be great, thanks!
While trying to debug another problem I'm having, I noticed that I am unable to ini_set or ini_get most of the fopen wrapper configuration directives.
In the php.net manual (http://ca3.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen), there is a listing of all the config directives that we should be able to set/get.
To test things out, I opened my php.ini file and inserted the user-agent directive, setting it to something like "blah", but nothing comes up in my scripts when I ini_get the value.
Also, in the phpdig phpDigSetHeaders(...) function, the ini_set function returns false.
The only directive that seems to be working is allow_url_fopen.
I'm using PHP v.4.1.2 on a Linux platform with Apache 1.3.26.
Has anyone ever encountered this strange behaviour before? Is there a flaw in my logic?
Any insight would be great, thanks!