in reply to Re: cgi form action
in thread cgi form action

Thanks esskar, Another stupid question (since it just isn't clicking) ... how does login.cgi receive this information, via the URL:

http://<wherever>/cgi-bin/login.cgi?username=<whatever>+password=<whatever>

or does is this away from the browser, login.cgi is called (like a shell out), or have I just missed the boat?

I'm sorry I'm being so stupid with this, it doesn't seem hard, but I just don't grasp it.

thanks, me

Replies are listed 'Best First'.
Re: Re: Re: cgi form action
by kutsu (Priest) on Feb 27, 2004 at 22:20 UTC

    There are two methods of sending data GET and POST. Your sample script is using POST (change that word to GET and you'll see the difference). GET sends data like this:

    http://www.foobar.com/cgi-bin/scriptname.cgi?param1=something&param2=s +omething....

    "Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce