[Novalug] php newbie
matt at matt-good.net
Wed Jan 17 00:30:09 EST 2007
On Wed, 2007-01-17 at 00:04 -0500, gregory pryzby wrote:
> I repurposed a script and have no idea why it is broken.
> Due to a number of issues, this is an old debian machine w/ apache 1.3
> and php4.
> For some reason this machine is no longer 'interpretting' a php file
> I am passing a URL
> "http://www.restonshoreshim.net/tmpl.php?f=about.html" (tmpl.php is
> attached) and the 'f' doesn't have a value. I am not sure if somehow a
> configuration file 'got changed'
Well, it's possible the behavior of PHP to automatically turn GET
parameters to variables has been turned off. I don't use PHP, but I've
seen complaints of the security problems this behavior can cause, so I
would not be surprised if there was a way to turn it off. I believe
that GET paramaters can also be access like $_GET['f'], but double-check
-- Matt Good
More information about the Novalug