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 the 
variables are passed with the url.

That allows for urls that have data atached and thrus allows the 
creation of portals and content servers. Otherwise, the user would 
bookmark always the start page of the portal/content server.

It is rather a question of choice.

BTW... the advantage of POST is that it allows file uploading and 
sending big quantities of information to the server. GET has some limits 
[arround 2Kb more or less... depends a bit on the browser/server combo].

Cheers,
Luis Ferro
TelaDigital

P.S.- as for the user not see the vars, well... that isn't of big 
importance as the user has access to all fields in the forms on the 
site... In any case i would recomend to perform regexp parsing on all 
vars received thru both post and get... just in case...

---
[This E-mail scanned for viruses by Declude Virus]


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

Reply via email to