Get url of a iFrame
Hi, i'm new on this forum.
I need to get a url of an iframe from a form.
A parent php page with an iframe, in the iframe the user can navigate and when the user has found his page click a button on the php parent page that send a variable to another php page with the frame url.
It is possibile?
The only thing i don't know how to do is to get the url of the frame. please help
We do precision guesswork
If they are on different domains, it's possible, but gets quite a bit more convoluted (and I'm not sure I could explain it correctly without doing a lot of research first).
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
it's no possibile with php?
post your code here, then we can help.
THE FRAME IS A WEBSITE, BETHINK GOOGLE, the user can navigate on the frame and when has found the following webpage click on the submit and send the variable $url that will contain the url of the webpage to geturl.php.
echo ("<form method=GET action=geturl.php>
<p><input type=submit value=Invia></p>
Last edited by marcolettieri; 10-11-2012 at 07:21 AM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)