mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
$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:
parent
42bdf589b4
commit
1500599d3a
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue