Re: GET / POST

From: Date: Mon, 23 Sep 2002 22:57:12 +0000
Subject: Re: GET / POST
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-15967@lists.php.net to get a copy of this message
Whell, I don;t know what is wrong with your version of apache, but the differends between the POST en GET-methode is, that the GET methode is used if you whant to recieve data back on you screen. The POST-methode is used only for sending things somewere (like an email, or variables to anouther page or something like that). You can not recieve data back then. That's all (in short terms). I hope that answers you second question. M.B. "Xxxpixie" <lentenis@inbox.lv> schreef in bericht news:20020908165231.86055.qmail@pb1.pair.com... > hi! I'm a total newbie to php4 or web design and i (of course) have a > problem: > i'm using apache 2.x and php4 as a module. > so, when i use the GET method to pass data to my php script: > > script.php?x=5 > > > i can't access it as a normal global variable: > > <?php > print $x; > ?> > > the only way i can get to it is: > > <?php > print _GET['x'] > ?> > > what's wrong? > > by the way, what's the difference between GET and POST methods anyway? > > > > >

« previous php.windows (#15967) next »