PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 02-22-2004, 10:03 AM   #1
fredh
Green Mole
 
Join Date: Nov 2003
Posts: 11
Question fopen wrapper configuration directives?

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, 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!
fredh is offline   Reply With Quote
Old 02-28-2004, 03:07 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
>> I'm using PHP v.4.1.2 on a Linux platform with Apache 1.3.26.

Hi. Maybe this has something so do with the PHP version you are running? From php.net is the following:

Not all the available options can be changed using ini_set(). Below is a table with a list of all PHP options (as of PHP 4.2.0), indicating which ones can be changed/set and at what level.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wrapper/multiple spiders... CentaurAtlas Mod Submissions 5 11-19-2006 12:07 PM
Wrapper jmitchell How-to Forum 0 01-08-2005 09:12 PM


All times are GMT -8. The time now is 08:59 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.