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
help out to much, just
fast things which requires less energy and thinking.
Cheers,
P.S. I don't know what a "DIY learner" is supposed to be? D.S.
> -Original Message-
> From: Samura1 [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 14, 2002 6:07 PM
> To: [
("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
the data
> 2) can't get the values from posted data
> 3) something else
>
> ??
>
> Cheers,
> Anders
>
> > -Original Message-
> > From: Samura1 [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 14, 2002 12:32 PM
> > To: [EMAIL
gust 14, 2002 12:32 PM
> To: [EMAIL PROTECTED]
> 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 tex
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
15 matches
Mail list logo