Hi,
I am using your Resizing Iframe SSI II script and I seem to be having some probems... Does the script only work on htm or html? It seems that php pages do not work, is there a way around this problem? It would help me a lot!
Thanks,
Ludders
Hi,
I am using your Resizing Iframe SSI II script and I seem to be having some probems... Does the script only work on htm or html? It seems that php pages do not work, is there a way around this problem? It would help me a lot!
Thanks,
Ludders
Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.
It shouldn't matter, as long as the containing PHP page is from the same domain as the page the iframe is on...
I'm a bit confused. What do you mean by "being in the same domain"? The main page and the iframe are both from my server (ayeka.net)
I think DD didn't say that as well as he might. The containing page and the page the iframe is on should be the same page. Anyways, here is the problem and what I am sure DD meant, if the containing page is on a different domain than the page showing through the iframe, then there will be a security violation and the script will not work. A domain is represented by the base of the address of the page, so:
is one domain, andCode:www.google.com
is another.Code:www.yahoo.com
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Hmmm, okay, well then that's not the problem. I am getting the error noted ---above---- in a different message:
Line 203 is:Line 203
Character 6
Error: Access Denied
Code: 0
URL: http://www.ayeka.net/smf/index.php?action=coppermine
Here is the main window link:else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntax
http://www.ayeka.net/smf/index.php
Here is the iframe link:
http://www.ayeka.net/cpg133
The combined page link is:
http://www.ayeka.net/smf/index.php?action=coppermine
Since both pages are on the same domain, I don't understand why I'm getting this error? (This is using IE 6)
Last edited by senkusha; 03-15-2006 at 07:09 PM.
I'm not getting any error other than file not found, check your urls.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Hmmm, I just clicked on those links and they brought me to the appropriate pages. (I am also working from a remote location, not the on the server itself.)
Ayeka's Bliss Image Repository reports it location as:
This is apparently enough to make the browser think that it is from a different domain than:Code:http://216.196.236.106/cpg133/
If Ayeka's Bliss Image Repository is really on the same domain, you need to make it report its location as:Code:http://www.ayeka.net/smf/index.php?action=coppermine
or have the index page use the number based url.Code:http://www.ayeka.net/cpg133/
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Put another way, this link works:
http://216.196.236.106/smf/index.php?action=coppermine
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
I'm stumped as to why the IP address works, yet my registered DNS name does not?
How can I make the link "report" as the http://www.ayeka.net?
Bookmarks