Welcome to WebmasterWorld Guest from 54.166.54.215

Forum Moderators: brotherhood of lan & mack

iFrame Forwarding automatically!

iFrame Forwarding automatically!

   
4:08 am on Jun 17, 2008 (gmt 0)

5+ Year Member



I am trying to embed a picture from this link into an iframe. But somehow, weirdly, the whole page is being forwarded to the site.

here is the iframe code I am using:
<iframe src="http://www.example.com/content.php?id=9369968" name="euro2008" scrolling="auto" frameborder="no" align="center" height = "500px" width = "500px">
</iframe>

What is going on? What am I missing? Please enlighten!

[edited by: engine at 2:54 pm (utc) on June 18, 2008]
[edit reason] No links, thanks, please post code [/edit]

7:48 pm on Jun 18, 2008 (gmt 0)

5+ Year Member



no one has a clue?
8:05 pm on Jun 18, 2008 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



if that last part of the url is real, then it looks like you are linking to an actual page (a php script), rather than an image

the image is probably being served through the php script. the script has probably got a bit in it that stops people hotlinking the image.

(displaying other people's images on your website without uploading it to your own server first is considered bad form - because you are using up their bandwidth without giving them any benefit.)

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month