Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Iframe redirects - Need help! Can pay!

iframe redirect

  • Please log in to reply
3 replies to this topic

#1 sek007

sek007

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts
  • Learning:Java

Posted 08 November 2012 - 06:55 AM

Hello, guys! I have a page:
www.iwebs.ws/hello2.php
I need to iframe another page into 1x1 pixel in it.
So I made a code:

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<html>
<iframe src="[url="http://blogmmn.com.br/dicas/"]http://blogmmn.com.br/dicas/"[/url] width="1" height="1" frameborder="0" ></iframe>
<p align=center>This is a test page</p>
</body>
</html>

But the thing is that the iframed page http://blogmmn.com.br/dicas/ has a redirect.
And it redirects the parent page!
And thats my main problem.
Can someone rewrite the page code so it had the 1x1 pixel of http://blogmmn.com.b...com.br/dicas/�� hut wasnt redirected?
Please I need help! I dont know java and dont know how to do at all.
Can someone help me with this? I can even pay you 5$ for this.
I am waiting for your replies. Thanks.

Edited by BenW, 08 November 2012 - 07:25 AM.
Added code tags

  • 0

#2 wim DC

wim DC

    Roar

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 2681 posts
  • Programming Language:Java, JavaScript, PL/SQL
  • Learning:Python

Posted 08 November 2012 - 07:22 AM

Google for 'busting frame busting' or 'prevent frame busting' and the like.
  • 0

#3 sek007

sek007

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts
  • Learning:Java

Posted 08 November 2012 - 07:35 AM

I tried but i dont know javascript. Can you help? I can pay. Waiting your reply. Thanks.
  • 0

#4 VNFox

VNFox

    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 648 posts
  • Programming Language:C#, PHP
  • Learning:Assembly

Posted 08 November 2012 - 10:23 AM

I think the iframe issue is that i can't go out to other page. It has to be internal domain or something. I think you're trying to go from one domain to another domain, and I think the browser will catch it and return empty.
  • 0

www.pickmike.com
I don't just develop software. I find solutions to your business needs.






Also tagged with one or more of these keywords: iframe, redirect

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download