Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 6th, 2003, 06:00 AM
Registered User
Join Date: Sep 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default prevent error if $_GET variable is not in URL


does anyone know a way of telling if a $_GET value is available.
I have looked at the help files and can only assume that i will need to turn register_globals on. I would prefer not to do that for this one problem.

Old September 6th, 2003, 08:40 PM
richard.york's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts

Hi Mih,

This subject has been addressed exhaustively on the different forums.

See: http://p2p.wrox.com/topic.asp?TOPIC_ID=2864
And: http://p2p.wrox.com/topic.asp?TOPIC_ID=1709
And: http://p2p.wrox.com/archive/beginnin...2002-11/17.asp

If after reading those you're still lost, let us know!

: )

Smiling Souls

Similar Threads
Thread Thread Starter Forum Replies Last Post
capture variable in URL Lemonluv07 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 March 31st, 2006 04:00 AM
$_GET sudheshna Beginning PHP 1 February 18th, 2006 05:22 AM
capture a variable from url. .com?jblp jblp PHP How-To 1 October 25th, 2004 07:26 PM
passing a variable through URL katie456 Classic ASP Databases 2 January 20th, 2004 11:27 PM
catching an URL variable in xslt Flashlight XSLT 1 August 21st, 2003 01:32 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.