> I have installed php 4.3.1 in my Apache server 1.3.2 as a server > module abd the operative system is Window 98. It works with my > php scripts but, when I try to pass variables to a php from > another file or from the browser, php doesn't recognise the variable. > > For example, with a script like this: test.php > <html> > > <body> > <?echo $var;?> > </body> > </html> > when I call it from a browser like this: > test.php?var=hello > I get a blank screen. I have tried this script in other php > servers and it works correctly. So maybe I have to load a > specific module or parameter. Could somebody help me ? > > Thanks. > > Sandra >
Sandra >From v4.2.x register_globals is switched off by default ... use $_GET['var'] in this case http://www.php.net/manual/en/security.registerglobals.php Rich -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php