Re: Get Vs Post

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Also there can be a restrictive data limit on the size of a GET URL 
which doesn't apply to POST. Link is old but still generally accurate 
AFAIK: http://www.faqts.com/knowledge_base/view.phtml/aid/638.

	To reply to Chenri, GET behaves the same as POST in that its data is 
just made up of whichever FORM is submitted. I think when you say

"while get is like a global variable for the whole page,
and doesn't require to make an object for a variable"

	you're talking about the "register globals" feature of PHP which is now 
disabled by default on any recent version of PHP (from v4.2.0 onwards I 
believe) for security reasons. See http://www.php.net/register_globals.

Jeff Brownlee wrote:
> 
> Different tools for different jobs.  GET is useful if you want to be 
> able to copy a dynamic URL (ie, you want to email a friend a link to 
> your favorite book on amazon.com), whereas POST is better used for 
> pushing data you don't want showing up in querystrings.
> 
> ---
> Hi all,
> 
> can any one clear my doubt?
> 
> Why we use Get method when we can achieve that with post method.


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.3 - Release Date: 31/01/2005






PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux