Bug #17366 Updated: Passing Variables between scripts
| From: | derick@php.net | Date: | Wed, 22 May 2002 17:53:34 +0000 |
| Subject: | Bug #17366 Updated: Passing Variables between scripts | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-8238@lists.php.net to get a copy of this message | ||
ID: 17366
Updated by: derick@php.net
Reported By: jeremefrancis@sympatico.ca
-Status: Open
+Status: Bogus
Bug Type: Apache2 related
Operating System: Win 2000 Professional
PHP Version: 4.2.1
New Comment:
In PHP 4.2.0, the 'register_globals' setting default changed to
be 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.
Previous Comments:
------------------------------------------------------------------------
[2002-05-22 13:45:13] jeremefrancis@sympatico.ca
When I run the phpinfo.php script, the script works and my browser
displays all the information about settings and etc. It seems like
scripts are being run properly but they are not.
If I run the following script from my apache 2 server,
<?php
print "&name=$name";
print "&lname=$lname";
?>
I get this output in my internet explorer 5 browser window,
&name=&lname
which is the correct output, but if I try to update the variables via
the address bar in my browser using this syntax,
http://localhost/test2.php?name=Joe&lname=Blow
nothing happens, but if I do the exact same thing on my ISP server, the
output in the browser window looks like this,
&name=Joe&lname=Blow
And because of this problem I am unable to send variables to other
scripts, and the reason I am using PHP is so I can use it in
combination with Flash, but I need to be able to send variables from
flash to php scripts. I know I can just do everything on my ISP server
but I like to do things on my home computer and not have to upload the
files every time I make a change to them. All I am wondering is if
there is a certain way Apache 2 or PHP4 has to be configured so that I
can send variables between scripts, I have been through all the
configuring of the Apaches http.conf file, and I am sure it is right,
oh yeah one more thing, my PHP Sever API setting is set to CGI and not
to a module, could that be the problem?
Thanks, hope someone could let me know if they have any ideas
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17366&edit=1