PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
Dale
Forum Contributor
Posts: 466 Joined: Fri Jun 21, 2002 5:57 pm
Location: Atherstone, Warks
Post
by Dale » Thu Feb 16, 2006 9:44 am
I'm just wondering is there another way of getting the value from a URL?
Normally I just print the value like so:
URL:
http://www.dalehay.com/comment.php?story=78
To show the value (78):
However is there another way of doing this??
Last edited by
Dale on Thu Feb 16, 2006 9:49 am, edited 1 time in total.
hawleyjr
BeerMod
Posts: 2170 Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA
Post
by hawleyjr » Thu Feb 16, 2006 9:46 am
You really should do it like this:
Dale
Forum Contributor
Posts: 466 Joined: Fri Jun 21, 2002 5:57 pm
Location: Atherstone, Warks
Post
by Dale » Thu Feb 16, 2006 9:48 am
Knew it was something like that. Cheers!
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098 Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia
Post
by Chris Corbyn » Thu Feb 16, 2006 11:05 am
Dale wrote: Knew it was something like that. Cheers!
Search the forum for "Register Globals" and you'll find why
It's not healthy