You are here: Re: passing vars - popup window problem « PHP Programming Language « IT news, forums, messages
Re: passing vars - popup window problem

Posted by Tyxod on 10/15/14 11:42

"Try a javascript newsgroup." - nope this is more of an html question.
Maybe try an html newsgroup, as this is a common html mistake...

Anyway, the problem is that you are passing a get variable here
(instead of a post var):

$s_download_action = "index.$phpEx?page=downloads";

which is the wrong way to sumbit a get variable through an html form
anyway. Especially when you declare:

method="post"

The possible solution is to have a hidden field like:

<input type="hidden" name="something" value="$s_download_action">

and then catch that in the popup as:

$s_download_action_is=$_POST['something'];

of course, if you wish to use

method="get"

then the above would be

$s_download_action_is=$_GET['something'];

 

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

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