Re: PHP & "POST"
| From: | Samura1 | Date: | Wed, 14 Aug 2002 15:00:33 +0000 |
| Subject: | Re: PHP & "POST" | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15253@lists.php.net to get a copy of this message | ||
First, I don't know how to use POST, is it just changing the value GET in
the form to POST?
Secondly, because I don't know where does it send to, I don't know where to
get it, and I don't know how to get it even I know... so.......
Anyone can show me an example coding for POST and how to get the data from
POST pls....
"B.A.T. Svensson" <B.A.T.Svensson@lumc.nl>
???????:000001c24381$9ebbb8a0$ce017c0a@3-hkg-02-0028.lumc.nl...
> Have you tried this URL yet:
http://www.w3.org/TR/html401/interact/forms.html#edef-FORM
> (www.w3.org might want to be your first choice when your are looking for
specifications
> details about HTML and HTTP transfers.)
>
> Also remember that GET is restricted to ASCII transfers, and if you
happens
> to have binary data you should uses POST.
>
> But more precisly what are your problems:
>
> 1) can't post the data
> 2) can't get the values from posted data
> 3) something else
>
> ??
>
> Cheers,
> Anders
>
> > -----Original Message-----
> > From: Samura1 [mailto:ohmysam@hotmail.com]
> > Sent: Wednesday, August 14, 2002 12:32 PM
> > To: php-windows@lists.php.net
> > Subject: [PHP-WIN] PHP & "POST"
> >
> >
> > Hey guys,
> > I want to know how to retrieve data from POST (form) ...
> >
> > What I want to do is...
> >
> > I've got a textarea for ppl to enter large amount of text (essay), and I
let
> > ppl submit it (using POST), then insert these data into mySQL.
> >
> > I get it working if I use GET (I only know how to use GET, dunno about
POST)
> > with small amount of words (say 1600 characters), but when there are
more
> > than 2000 characters, the submit button doesn't work. And I found that
it is
> > becoz GET does not allow too large amount of text appear in the URL...
> >
> > So anyone can teach me how to get data from POST? I read some web sites
but
> > still have no idea how to do it ... I think I need an example...
> >
> > Please help
> >