You are here: Re: Passing data between php files « PHP SQL « IT news, forums, messages
Re: Passing data between php files

Posted by cover on 10/11/05 12:15

On Sun, 09 Oct 2005 17:09:17 -0500, Jerry Stuckle
<jstucklex@attglobal.net> wrote:

>They only way the select box would pass the value to $month in
>mmonth.php would be if register_globals were set to "on" - which is a
>huge security hole.
>
>Rather, you should have register_globals set to "off" (which it probably
>is since you don't see the value passed) and you can find the value in
>$_POST['month'].

Thanks, using $_POST['month'] and $_POST['person'], does indeed pass
the values for 'month', just not 'person'. It reads 'person' just
fine to populate the first query but wont pass the newly populated
drop down value anywhere else in spite of using $_POST['person'] on
that page. There must be some way to retain the value of 'person' and
pass it as much as you like between pages.

 

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

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