RE: [PHP-INST] General PHP4 question
| From: | Miguel Carvalho | Date: | Wed, 09 Oct 2002 15:09:22 +0000 |
| Subject: | RE: [PHP-INST] General PHP4 question | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8741@lists.php.net to get a copy of this message | ||
>> Hi,
>>
>> I just got PHP4 and Apache 1.3.26 working (sort of I think) after 4
>> days of messing around, but something is still not right. When I run
>> the test <?phpinfo()?> it works fine, but when I run a previous test
>> file I created, it doesn't work. I know the syntax is correct as it
>> works on the machine at work, but no go here. All it does is take a
>> form to input addresses and outputs it to a php file, but it is not
>> passing the variables. There are some "if" statements in the php file
>> that are also not working. You can see what I mean at
>> http://beauford.dyndns.org/info.htm.
>>
>> I am thinking that there is still something I am missing in httpd.conf
>
>> or php.ini, but any input is appreciated.
>>
>> TIA
>>
>> Oh, by the way. I'm running FreeBSD 4.6.2 as is the machine at work.
> Check the register globals on the one at home in your php.ini file.
>
> It was off and I turned it to on and the same thing.
Have you restarted Apache?
try a print_r( $_GLOBALS ) and see if it displays.
You variable name is shown as a item of the $_GLOBALS array.
Miguel