Jump to content

Iframe Hack not working. Any thing wrong with it?


pspcrazy

Recommended Posts

Hi I'm trying to make a iframe php script work. Basically when you go to this page:

 

http://www.animecrazy.net/2008/08/31/bleach-episode-186/2/ it should automatically iframe http://www.megavideo.com/?v=M83EGPVC using the script mvhack.php.

 

As it's being fed by the script: http://www.dramacrazy.net/mvhack.php?file=M83EGPVC

 

But oddly it doesn't and it just goes to: http://www.megavideo.com/?v= .

 

Is there something wrong with the code or Is there a setting on the server that is off that can be turned on to fix this or a work around? Need some help ASAP since my site's need this video script to fully function.

 

Contents of mvhack.php:

<html>
<head>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
</head>

<body onLoad="window.scrollTo(6,112)">
<iframe src ="http://www.megavideo.com/?v=" width="1000" height="1000" vspace="0" hspace="0" allowtransparency="true" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" style="border:0px;"></iframe>
</body>

</html>

 

Thanks a billion if you can figure this out!

You're not passing the variable to the page.

 

Here's you're code:

<iframe src ="http://www.megavideo.com/?v=" width="1000" height="1000" vspace="0" hspace="0" allowtransparency="true" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" style="border:0px;"></iframe>

 

See the "http://www.megavideo.com/?v=" part? There's nothing after the v=. If you're trying to pass the file request variable to the page, you should change your code to this:

<iframe src ="http://www.megavideo.com/?v=<?php echo $_REQUEST['file']; ?>" width="1000" height="1000" vspace="0" hspace="0" allowtransparency="true" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" style="border:0px;"></iframe>

 

That will pass the file variable to the megavideo site as the "v" variable.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.