php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2258 Can't access any php variables...
Submitted: 1999-09-07 17:17 UTC Modified: 2000-03-10 12:36 UTC
From: pmm at uninova dot pt Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 2 OS: WINNT4.SP5
Private report: No CVE-ID: None
 [1999-09-07 17:17 UTC] pmm at uninova dot pt
example:

<?php

  echo("-->".$PATH_TRANSLATED."<--");

  $test = 1;
  echo $test;

  phpinfo();
  
?>

displays:

--><--1
PHP Version 4.0B2

--------------------------------------------------------------------------------
System: Windows NT 4.0 build 1381
Build Date: Aug 13 1999 
php.ini path: php.ini
ZEND_DEBUG=0
ZTS is defined
--------------------------------------------------------------------------------
This program makes use of the Zend scripting language engine:

Zend Engine v0.90, Copyright (c) 1998, 1999 Andi Gutmans, Zeev Suraski

....

and continues

...

Error:

the variable $PATH_TRANSLATED does not output back to browser (nor any other).
Meanwhile the php_info() display's that it exists and is set to:

$PATH_TRANSLATED - C:\InetPub\wwwroot\index.php

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-10 12:36 UTC] andi at cvs dot php dot net
Please download and try http://www.php.net/~andi/php-4.0-Beta-March3rd.zip
If you still have problems then please open a new bug report
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Feb 27 05:01:25 2020 UTC