You are here: Re: [PHP] A question... « PHP « IT news, forums, messages
Re: [PHP] A question...

Posted by "Richard Lynch" on 10/19/61 11:31

On Tue, November 8, 2005 3:10 pm, Tony Di Croce wrote:
> Are variables that are stored in the $_POST[] array ever communicated
> to the
> browser?
>
> Im using PHP sessions, and I store lots of variables in $_POST[]... If
> I use
> $_POST[] to communicate variables from 1 php script to another, is
> that
> insecure?

http://php.net/phpinfo
will dump $_POST (and everything else) to the browser.

And you could, at some point in debugging, use var_dump($_POST).

But in the normal course of events, the data in $_POST isn't sent
"back" to the browser by PHP under the hood.

That said: You should not be cramming things into $_POST.

$_POST is what comes *FROM* the browser.

Treat it as "read only" unless you want to make yourself miserable
down the road some day.

What are you putting into $_POST and why?

And how does that communicate from one script to another???

Are you cramming things into $_POST and then passing them on through
cURL or something???

--
Like Music?
http://l-i-e.com/artists.htm

 

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

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