Home  |  Linux  | Mysql  | PHP  | XML
From:Paul Halliday Date:Thu Sep  2 21:19:22 2010
Subject:Re: problem retrieving variables.
On Thu, Sep 2, 2010 at 5:43 PM, Jim Lucas <lists@cmsws.com> wrote:
> 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;\">
"
>> src=\"edv.php?qp=$qp\" width=100% height=1000 frameborder=0
>> scrolling=no></IFRAME>
>>
>> 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
>
>
>

I think I see what I am doing wrong..

...
createlink function up here then...

<?php $qp = $_REQUEST['qp'];?>
<html>
<body>
<form id=edv method=post action=edv.php>
<table width=100% border=0 cellpadding=1 cellspacing=0><tr><td align=left>
<input onMouseOver="style.backgroundColor='#ffffff';"
onMouseOut="style.backgroundColor='#DDDDDD';" id=links name=links
type="submit" value="create link graph" style="font-size: 9px; border:
none; border: .5pt solid #000000; background:#DDDDDD;">
</td>
<?php
echo $qp;
if ($_REQUEST['links']) {
CreateLink($qp);
}
?>
</form>
</body>
</html>

I can't do what I am trying to do. Do I need to put it in a hidden
field within the form and then re-request?
Navigate in group php.general at sever news.php.net
Previous Next


Your recent visits
Re: [PHP] Secure Communication?
Re: [PHP] Re: cannot figure out permissions for fopen/fwrite
cannot figure out permissions for fopen/fwrite
Re: [PHP] Re: require_once
Re: 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