php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24498 Globals not automatically registered
Submitted: 2003-07-04 10:00 UTC Modified: 2003-07-04 11:40 UTC
From: dafrancesch at yahoo dot com dot ar Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5CVS-2003-07-04 (dev) OS: Win2000
Private report: No CVE-ID: None
 [2003-07-04 10:00 UTC] dafrancesch at yahoo dot com dot ar
Description:
------------
I can't get globals registerd...

php.ini modifications:
register_globals = On
extension_dir = "c:\php\extensions\"
session.save_path = "c:/tmp"

calling:
http://localhost/globals.php?opt=33




Reproduce code:
---------------
<!-- globals.php -->
<html>
<head>
<title>Globals...</title>
</head>
<body>
[<?php echo $opt; ?>]
</body>
</html>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-04 10:20 UTC] magnus@php.net
On Linux with Apache 2. phpinfo() reports register_globals 
on, but it doesn't work =) 
 
Tried with current HEAD. 
 [2003-07-04 11:12 UTC] postings-php-bug at hans-spath dot de
Isn't this a duplicate of bug #24401 ?
 [2003-07-04 11:40 UTC] magnus@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

It is.. I knew I saw another bug before about this and I 
was right then.. Please add futher comments to bug #24401 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 22:01:26 2024 UTC