Samura1 wrote:
>One more thing,
>I found that POST is better than GET as user won't see the variables
>But there must be a disadvantage of POST, otherwise, no one use GET...
>do you know what are the disadvantages of POST?
>
>
The disvantage of POST, or better, the advantage of GET is that
> I did read the spec and I can understand how to use that... (also read a lot
> of docs)
> but the problem I've got before was:
> I don't know how to get the data, if I don't know how to get the data, I
> wouldn't have a clue whether the way I use POST is correct or not...
> w3.org does provide a
("Tissue")
> > >
> > >
> > > In PHP I think a reference to a posted variable is done something
> > > like
> > this:
> > >
> > >$HTTP_POST_VARS['Tissue'];
> > >
> > > Knowing this it should be a
Scott Carr [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 9:18 AM
To: PHP Windows
Subject: Re: [PHP-WIN] PHP & "POST"
Therein lies the difference. With POST, you cannot see the variables that
are
being passed, because they are passed as a header directly to the server
amura1 [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 14, 2002 6:03 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP-WIN] PHP & "POST"
> >
> >
> > Hey man, your post is very helpful ...
> >
> > But actually, I just found out the
ct
> > > the data. This is done like this is VBScript:
> > >
> > >Tissue = Request.Form("Tissue")
> > >
> > >
> > > In PHP I think a reference to a posted variable is done something like
> > this:
> > >
> > >
Wednesday, August 14, 2002 6:03 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] PHP & "POST"
>
>
> Hey man, your post is very helpful ...
>
> But actually, I just found out the solution on the web...
> You know what, most web sites are just telling you
er you
> need to do.
> >
> > Check this link for more details about POSTing:
> >
> >
>
http://www.php.net/manual/en/language.variables.external.php#language.variab
> les.external.form
> >
> > If you want to uplaod a file instead, you might want to check this
details about POSTing:
>
>
http://www.php.net/manual/en/language.variables.external.php#language.variab
les.external.form
>
> If you want to uplaod a file instead, you might want to check this out:
>
> http://www.php.net/manual/en/features.file-upload.php
>
>
> Cheers,
> Anders
&
> -Original Message-
> From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]]
>
> Once we press the "Go Now" button, the form data will be
> posted to the
> webserver, but the handlig page (START.ASP) need a script to extract
> the data. This is done like this is VBScript:
>
>Tis
you might want to check this out:
http://www.php.net/manual/en/features.file-upload.php
Cheers,
Anders
> -Original Message-
> From: Samura1 [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 14, 2002 5:01 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] PHP & &qu
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 d
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
13 matches
Mail list logo