Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2002 13:50:45 -0700 (PDT)
From:      "Chip McClure" <vhm3@gigguardian.com>
To:        <paulo@nlink.com.br>
Cc:        <freebsd-isp@FreeBSD.ORG>
Subject:   Re: PHP 4.2.2
Message-ID:  <16609.24.219.11.216.1027975845.squirrel@mimas.gigguardian.com>
In-Reply-To: <20020729172307.J74766-100000@mirage.nlink.com.br>
References:  <20020729172307.J74766-100000@mirage.nlink.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Paulo Fragoso said:

Try editing your php.ini file, and search for the value "register_globals".
This is off by default in the newer versions of mod_php4, so you'll need to
enable it. I had the same problem, and this fixed it for me.

register_globals = On

If it's not that... (?)

Chip

> Hi,
>
> I've upgrade my ports by cvsup and I've installed mod_php4-4.2.2. After
> that I've got a big problem, all pages which get values for variables
> from html pages using GET method don't work.
>
> Example:
>
> http://www.foo.com/teste.php?id=1
>
> where teste.php is:
>
> <HTML>
> <HEAD>
> <title>
> </title>
> </HEAD>
>
> <?php
>
> echo 'ID: '.$id.'<br><br>';
>
> ?>
>
> </HTML>
>
>
> Now $id is always empty.
>
> Is there any change here?
>
> Thanks,
> Paulo.
>
> --
>   __O
> _-\<,_     Why drive when you can bike?
> (_)/ (_)
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message


-----
Chip McClure
Sr. Unix Administrator
GigGuardian, Inc.

http://www.gigguardian.com/
-----



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16609.24.219.11.216.1027975845.squirrel>