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" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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?
>
>
>
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to