You are here: Re: AW: [PHP] how can I CALL a PHP script from different TEXT LINKS with differentPARAMETERS? « PHP « IT news, forums, messages
Re: AW: [PHP] how can I CALL a PHP script from different TEXT LINKS with differentPARAMETERS?

Posted by Curt Zirzow on 10/01/47 11:32

On Sun, Nov 20, 2005 at 04:12:05PM +1300, Jasper Bryant-Greene wrote:
> xkorakidis wrote:
> >Webmaster, thanks very much but I think it would be safer to do that by
> >post, not by get. Furthermore, if I use indivudual files
>
> The difference between POST and GET lies in the semantics -- POST
> represents something changing on the server, e.g. updating a database
> field, and allows the browser to warn the user if they try to refresh.
> GET represents nothing of importance changing on the server, e.g.
> performing a search on the database, and can safely be repeated.

Another good reason to use POST to modify data, consider the link:

http://example.com/posts.php?postid=1&action=delete

If googlebot comes across your page containing a list of all your
posts, with a link like that, you just might wake up one morning
wondering why all your posts are gone.

Curt.
--
cat .signature: No such file or directory

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация