RE: [PHP-WIN] Posting data to a web page
| From: | HKG) | Date: | Mon, 03 Dec 2001 06:29:01 +0000 |
| Subject: | RE: [PHP-WIN] Posting data to a web page | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-10693@lists.php.net to get a copy of this message | ||
>I am trying to post data to a web page using the code
>
> fopen("http://www.someserver.com?data=XXXXXXXXXXX");
>
>The data is actually around 7k worth and I seem to be having trouble
>with the app it is posting to ( I have URL encoded it). I was reading
>in various places on the web that there might be a url length limitation
>and was wondering if this method should work or not for posting data to
>a form??
>
>If anyone can confirm, deny, or point me in the direction of something
>better, I'd apreciate it.
A good starting point might be www.w3.org, specifically you can look at
http://www.w3.org/TR/REC-html40-971218/interact/forms.html
Also having a glance at HTTP 1.1 would not hurt...