[PHP] Configuration Variable user_agent

2004-04-02 Thread Bernhard Kraft
Hallo ! I run PHP 4.1.2. I want to set the user_agent which gets sent along when fetching file via the fopen(...) call. Normally this is PHP/VERISON in my case PHP/4.1.2 I want to set a different user_agent. I tried to set the variable user_agent in the php.ini file. But the variable doesn't

Re: [PHP] Configuration Variable user_agent

2004-04-02 Thread Burhan Khalid
Bernhard Kraft wrote: Hallo ! I run PHP 4.1.2. I want to set the user_agent which gets sent along when fetching file via the fopen(...) call. Normally this is PHP/VERISON in my case PHP/4.1.2 I want to set a different user_agent. I *believe* you can set this via header(), but its still early

[PHP] Configuration Variable user_agent

2004-04-01 Thread Bernhard Kraft
Hallo ! I run PHP 4.1.2. I want to set the user_agent which gets sent along when fetching file via the fopen(...) call. Normally this is PHP/VERISON in my case PHP/4.1.2 I want to set a different user_agent. I tried to set the variable user_agent in the php.ini file. But the variable doesn't