Home  |  Linux  | Mysql  | PHP  | XML
From:Jim Lucas Date:Thu Sep  2 20:43:54 2010
Subject:Re: problem retrieving variables.
Paul Halliday wrote:
> I think I just might be missing the logic here.
>
> I have a page that is created and within this page, I include an
> iframe like this:
>
> $qp = urlencode("$when $wFilter $aFilter");
> echo "\r<tr><td id=links colspan=2 style=\"display:none; padding-left: 12px;\">
> \r<IFRAME id=\"links-frame\" name=\"links-frame\"
> src=\"edv.php?qp=$qp\" width=100% height=1000 frameborder=0
> scrolling=no></IFRAME>
> \r</td>
> \r</tr>";
>
> When I call edv.php though, I can't $qp = $_REQUEST['qp'];
>
> What am I missing?
>
> Thanks.
>

Just below your urlencode() call in the parent script place echo $qp; to see if
the value is what you expect?

Then within edv.php add this

var_dump($_REQUEST);

and see if $_REQUEST['qp'] is there, and what it is.

Jim


Navigate in group php.general at sever news.php.net
Previous Next


Your recent visits
Re: [PHP] Apache module PHP 5.3 on Windows
Re: [PHP] problem retrieving variables.
Re: [PHP] Secure Communication?
Re: [PHP] Re: cannot figure out permissions for fopen/fwrite
cannot figure out permissions for fopen/fwrite



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants