hI sTEVE, Quoting steve miller <[EMAIL PROTECTED]>: > Howdy. > > Is there any way to determine the filename of a parent frame using php? > I have embedded an iframe into several pages and a link in that iframe > opens a new page in its parent. I want to be able to click on a button > in that new page to return to the page holding the iframe, but the > "referrer" is always the page in the iframe and not the parent.
There's no way PHP can know anything about the iframe or parent as its on the server side. You can execute a javascript function to get the parent url when you click on the button and send it as a hidden field to the server and then in your php code use this hidden field in place of http referer. HTH R'twick -- This is a signature ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
