Re: Generating POST-format form variables

From: Date: Tue, 31 Oct 2000 09:41:56 +0000
Subject: Re: Generating POST-format form variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22891@lists.php.net to get a copy of this message
### On 31 okt 2000 10:41, you wrote in php.general: >hi, > >i'm not sure, but u could try this > >http://xxx.com/doit.php3?a=dog&b=cat > >----> <form action=xxx.com/doit.php3 method=post> >push this button: <input type=submit value=push> ><input type=hidden name=a value=dog> ><input type=hidden name=b value=cat> ></form> > >"http://xx...." is equal to "<form >action=xxx.....".... > >i'm not sure this is the very answer you want.... I'm trying to receive and parse a foreign URL which uses a mixture of post and get. Example 1. Use a <form method="get"> to get to URL http://xxx.com/doit.php3?foo=bar 2. http://...?foo=bar has a form containing (note there is <form name="bullshit" method=post>push this button: <input type=submit value=push> <input type=hidden name=a value=dog> <input type=hidden name=b value=cat> </form> If I try to receive the URL, I thought the syntax would be something like http://xxx.com/doit.php3?foo=bar&a=dog&b=cat This being on an IIS/MSSQL-driven site, I only get error messages returned. Multiple, and ugly they are as well MS ODBC error :( (End note: I try to receive the URL via an fopen(), not that I think that matters.) -- Arve Bersvendsen Mail sent to the From: address in this message will only be read if it includes a valid References: or In-Reply-To:-header.

« previous php.general (#22891) next »