From 1500599d3af83c35bc23e80e70906f2eb595b405 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Thu, 18 Apr 2002 23:07:18 +0000 Subject: [PATCH] $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 --- features/remote-files.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/remote-files.xml b/features/remote-files.xml index cd6ac9100e..b1be14555b 100644 --- a/features/remote-files.xml +++ b/features/remote-files.xml @@ -1,5 +1,5 @@ - + Using remote files @@ -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); ?> ]]>