Click to See Complete Forum and Search --> : VARIABLE PASSING


Anon
06-29-2002, 09:36 AM
HELP HELP HELP

i just installed a wamp server running apache 2 , php4 , MySQL and windows

everything seems to work fine except i cannot pass variables from a HTML page to a PHP page


PLEASE HELP ME
-KaneIV

Anon
06-29-2002, 02:40 PM
Assuming you are trying to access the variables correctly then it is something in the php.ini file. I am not sure what but look for something obvious.

warmwind
06-29-2002, 11:03 PM
KaneIV wrote:
-------------------------------
HELP HELP HELP

i just installed a wamp server running apache 2 , php4 , MySQL and windows

everything seems to work fine except i cannot pass variables from a HTML page to a PHP page


PLEASE HELP ME
-KaneIV

Never fear! Your frustration is over!

If you want security, and you want to be sure that no variables passed clash with declared one in the script, use the $_GET or $_POST globals (Check the manual)

HOWEVER, if security and invulnerability are not issues ...

It's in the php.ini file. Find:

register_globals = Off

and change it to:

register_globals = On

Caused lots of fun for me when I upgraded and overwrote the old php.ini ..

Anon
07-02-2002, 02:44 PM
THANKS!!!!

You are the BOMB!!!!!