php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21805 NO file.php?something=x
Submitted: 2003-01-21 13:52 UTC Modified: 2003-01-21 14:04 UTC
From: nasty_psycho at msn dot com Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: 4.2.3 OS: Windows
Private report: No CVE-ID: None
 [2003-01-21 13:52 UTC] nasty_psycho at msn dot com
I tried all web servers for windows but all the have the same problem:
The php quees are not avilable 
I've made a test file :
<?php
echo "you wrote $name";
?>
and name it test.php and run it (localhost/test.php?name=something) and it gaves me an error i cant sent the values for the variables to the script!!! 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-21 14:04 UTC] iliaa@php.net
In PHP 4.2.0, the 'register_globals' setting default changed to
'off'. See http://www.php.net/release_4_2_0.php for more info.
We are sorry about the inconvenience, but this change was a necessary
part of our efforts to make PHP scripting more secure and portable.

turn on register_globals if you want to access GET/POST/COOKIE variables like you did in your example.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC