|
-
Nov 11th, 2002, 12:08 PM
#1
Thread Starter
Addicted Member
submit form via URL [resolved]
hi,
how would i submit a form on a webpage by passing its arguments in the url
ex:
i want the "Name" to be "Bob" and "Site" to be "blah". i've tried navigating to "http://www.blah.com/script.pl?Name=Bob&Site=blah" but it doesn't submit the form, any ideas on how to make this work?
Thanks
-George
Last edited by Rh0ads; Nov 12th, 2002 at 05:22 PM.
< o >
-
Nov 11th, 2002, 08:11 PM
#2
Black Cat
That only works if the CGI script is looking for the variables to be submitted as GET. You want to do a POST submit, which doesn't involve the URL. The variables are sent in POST as a data "body" after the HTTP headers, kind of the reverese process of getting a web page. The CGI script receives this as standard input.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|