RE: [PHP-INST] Problem

From: Date: Thu, 27 Mar 2003 18:04:54 +0000
Subject: RE: [PHP-INST] Problem
Groups: php.install 
Request: Send a blank email to php-install+get-10437@lists.php.net to get a copy of this message
Any of the following will work: <? echo $var;?> <? echo "$var";?> <?=$var?> If these don't work I suggest adding this to your script and reloading the page: <? echo phpinfo(); ?> That should print your php info screen, if it does not then you have a configuration issue. - Mike > -----Original Message----- > From: Sandra Rius [mailto:sandra.rius@iua.upf.es] > Sent: Wednesday, March 26, 2003 6:04 AM > To: php-install@lists.php.net > Subject: [PHP-INST] Problem > > > Hi, > > 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 >

« previous php.install (#10437) next »