-
Get iFrame URL and Write It??
Hi There,
Does anyone have a code to get the URL from an iFrame inside a PHP page and then write that URL into a variable?
-
-
That's not possible like that. PHP does not have access to serverside information. The best you can do is find out the request URI, but that will just give you the page, not whether or not it is in an iframe, etc.
Javascript can better attempt this but there are security restrictions on information, such as not allowing you to find the URL for an iframe loading a page outside your domain.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks