From:             [EMAIL PROTECTED]
Operating system: Win 2000 Professional
PHP version:      4.2.1
PHP Bug Type:     Apache2 related
Bug description:  Passing Variables between scripts

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 bug report at http://bugs.php.net/?id=17366&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17366&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17366&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17366&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17366&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17366&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17366&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17366&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17366&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17366&r=globals

Reply via email to