Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2003 11:26:02 -0500
From:      "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        "H. Bartel" <lists@u-rep.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: apache / php problem
Message-ID:  <3F6F229A.7070407@daleco.biz>
In-Reply-To: <r02000100-1026-82022438ED1711D7821000306583A5FE@[10.0.0.119]>
References:  <r02000100-1026-82022438ED1711D7821000306583A5FE@[10.0.0.119]>

next in thread | previous in thread | raw e-mail | index | archive | help
H. Bartel wrote:

>Hi all,
>
>Since I do have php4 running and phpinfo() tells me that it does, Sites that I put into my root dir of Apache are not parsing their variables. The index pages are displayed properly, since they don't require any vars to be passed, but every other sub-pages (e.g. index.php?sub=2) don't do anything, the normal index.php is displayed.
>
>The path to php.ini reads "/usr/local/etc/php.ini ", if I understand correct it gets read then. I couldn't find any other reason for this to not work.
>
>Thanks for any help,
>Holger
>
If you have just updated to PHP4 from 3, be advised
that the "register_globals" handle in php.ini is now OFF
by default, and therefore any code of the type

include "$sub";

should now read

include "$_GET['sub']";

This might be the problem.  See the FAQ's
at www.php.net or www.phpbuilder.com/board
for details.

HTH,

Kevin Kinsey



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