Query string help!
Ok, here's my question... I want to make a script that once I goto a URL (IE: [url=http://www.some.com/cgi-bin/some.cgi?action=post)]http://www.some.com/cgi-bin/some.cgi?action=post)[/url] it will put the action type (in this case it's 'post') into a varible. Anyone have a snipped of code? Thanks...
------------------
Critiquing over 1000 sites on the Internet today...
Justin Stayton - [email] [icq]
arpith posted this at 18:37 — 5th June 2000.
They have: 14 posts
Joined: May 2000
Hi justin.
Its real easy using the CGI module. Take a look. It takes care of QUERY_STRING/CONTENT_LENGTH.
Arpith.com
Orpheus posted this at 18:51 — 5th June 2000.
They have: 568 posts
Joined: Nov 1999
Ok, I think I understand your problem so see if this will do it for you.
Justin S posted this at 19:22 — 5th June 2000.
They have: 2,076 posts
Joined: Jun 1999
Hmm, it doesn't seem to work Orpheus. Here's the full script. Please tell me whats wrong...
Justin Stayton - [email] [icq]
roBofh posted this at 19:37 — 5th June 2000.
They have: 122 posts
Joined: Jun 2000
Because
Rob Radez
OSInvestor.com
Orpheus posted this at 23:46 — 5th June 2000.
They have: 568 posts
Joined: Nov 1999
erp... major typo
replace 1 with $1
THAT will work. promise
Justin S posted this at 00:00 — 6th June 2000.
They have: 2,076 posts
Joined: Jun 1999
Aha! Thanks alot everyone...
ORPHEUS: did you get my e-mail? what's your ICQ or AIM address?
------------------
Critiquing over 1000 sites on the Internet today...
Justin Stayton - [email] [icq]
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.