I'm trying to change some information in the header...lets say that User
Agent for example...but it just wont change.

putenv() will change the User Agent..but nothing else will

<?
$ua = "Mozilla/4.0 (compatible;)";

header("User-Agent: $ua\n", TRUE);
header("Accept: */*", TRUE);

//putenv("HTTP_USER_AGENT=$ua");

echo "\n<br>user agent: ";
echo getenv("HTTP_USER_AGENT");
?>

Suggestions?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to