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
pgp00000.pgp
Description: PGP signature