$HTTP_USER_AGENT -> $HTTP_SERVER_VARS['HTTP_USER_AGENT']

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78716 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2002-04-18 23:07:18 +00:00
parent 42bdf589b4
commit 1500599d3a

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.15 $ -->
<!-- $Revision: 1.16 $ -->
<chapter id="features.remote-files">
<title>Using remote files</title>
@ -73,7 +73,7 @@ if (!$file) {
exit;
}
/* Write the data here. */
fputs ($file, "$HTTP_USER_AGENT\n");
fputs ($file, $HTTP_SERVER_VARS['HTTP_USER_AGENT'] . "\n");
fclose ($file);
?>
]]>