Apache and PHP

Stijn Hoop stijn at win.tue.nl
Tue Apr 15 12:06:26 PDT 2003


On Tue, Apr 15, 2003 at 01:48:30PM -0500, Jack L. Stone wrote:
> Sure enough, the 'register_globals' set to "On" solved my nagging problem
> and php scripts all work again.

... but be sure to read all the security implications of that setting
at http://www.php.net/manual/en/security.registerglobals.php.
You're much better off writing code that uses $_GET, $_POST, $_REQUEST
and the like.

Of course, you may have legacy code that you can't update...

--Stijn

-- 
"...I like logs. They give me a warm fuzzy feeling. I've been known to keep
logs for 30 months at a time (generally when I thought I was rotating them
daily, but was actually rotating them once a month)."
	-- Michael Lucas, in Big Scary Daemons article 'Controlling Bandwidth'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030415/a00f01e5/attachment.bin


More information about the freebsd-questions mailing list