You are here: Re: input type=password question « PHP Programming Language « IT news, forums, messages
Re: input type=password question

Posted by Oli Filth on 11/11/05 18:09

Greg Scharlemann said the following on 11/11/2005 16:05:
>>What happens if you output the following variables?
>>$_GET["password"]
>>$_POST["password"]
>>$_COOKIE["password"]
>>
>
>
> Looks like it's from a cookie... if I'm not using cookie's how does
> that work?
>

I bet you have a cookie called "password" set in your browser for this
domain. Check it in your browser and see.

By default, in $_REQUEST, cookie variables override POST variables,
which override GET variables.

For this reason, it's generally safer to use $_GET, $_POST and $_COOKIE
explicitly.

--
Oli

 

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

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