Jump to content

Need help reading/accessing a variable in an iframe?


A JM

Recommended Posts

Been a while since I've posted to the forum..

 

I've got a problem trying to get a variable that has been passed to an iframe. The variable appears in the iframe HTML tags but I'm unable to retrieve it on the page that it being passed to, any ideas on what I'm doing wrong?

 

Here is the source from of the parent page, a simple iframe:
 

<iframe src="/jqueryupload/upload.php?FileSaveNum=0001336" width=99% height="150"></iframe>

 

and I've been trying to use $_GET['FileSaveNum']; with no luck on the iframe page.

 

Here is the source on the iframe page:

 

<?php
//******The number variable*******
$FileNum = $_Get['FileSaveNum'];
echo $FileNum;
?>

 

One thing to keep in mind is that there is no 'SUBMIT' happening here to the iframe, so maybe that's where my problem is?

 

Hopefully someone can help with how I can read the variable from the

 

AJM,

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.