Re: Cannot pass variables
| From: | Burhan Khalid | Date: | Tue, 15 Apr 2003 17:12:12 +0000 |
| Subject: | Re: Cannot pass variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143982@lists.php.net to get a copy of this message | ||
Hello P,
Tuesday, April 15, 2003, 7:02:00 AM, you wrote:
PL> Hi,
PL> I am using apache 2.0.45 and php 4.3.1 for windows.
PL> Anybody can tell me what has gone wrong with my statement?
PL> Is there something has to be setup in php.ini?
PL> I use http://mycomputer/login.php?name=user1
PL> My login.php cannot receive variable 'name' !
PL> login.php:
PL> <?php
PL> echo $name;
?>>
Firstly, PHP support in Apache 2.x is experimental, so not everything
will work.
Secondly, if you had read the release notes, you would know that
register_globals is off by default.
Thirdly, if you had searched the archives, there is one question like
this everyweek, and a lot of solutions have been posted.
--
Best regards,
Burhan Khalid
phplist[at]meidomus[dot]com