PHP.ini

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Nov 15 09:45:42 PST 2003


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
-------------- 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/20031115/37a3a8cc/attachment.bin


More information about the freebsd-questions mailing list