Date: Sat, 15 Nov 2003 17:45:19 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Ian Barnes <ian@cerebellum.za.net> Cc: questions@freebsd.org Subject: Re: PHP.ini Message-ID: <20031115174519.GA72405@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <DGEOIPPIAJBPINGMKMGKMEPODDAA.ian@cerebellum.za.net> References: <DGEOIPPIAJBPINGMKMGKMEPODDAA.ian@cerebellum.za.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sat, Nov 15, 2003 at 07:08:40PM +0200, Ian Barnes wrote: > I am having problems parsing php variables. > > say now i goto http://www.testdomain.com/index.php?news=TODAY its not > carrying the news=TODAY variable to the next page. > > I have gone through my php.ini file and i cant find any problems. Now im > fairly sure that it is my php.ini file thats causing the problems. Attached > is my php.ini, if someone could find a fault i would be most gratefull. register_globals is turned off for security reasons nowadays. You should be very careful of turning off register_globals on any machine exposed to the internet. The recommended way to access the CGI data is through the $_GET[] array (or $_POST[] for scripts that work by that action) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/tmYvdtESqEQa7a0RAmF1AJ9rgJNZiDANRwWzXKgZhbKqx06EagCdGyCp K1DJdCQoyjVINMJod3KBDNE= =BS22 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031115174519.GA72405>
