Jump to content

Need help reading/accessing a variable in an iframe?


Go to solution Solved by 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,

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.