Jump to content

Recommended Posts

well .. i need more help now, i thought i could do what i want to do this way but it wont work -_-

 

i want to do something like this -

<?php
include(http://someotherwebsite.com/video.php?id=$_GET['file']);
?>

 

Could you help me on that  ??? thanks for the quick reply, i appreciate it mate =)

 

i see.. but i want to copy the whole web page and make it look like its mine

 

for instance

 

I want to turn http://www.somerandomwebsite.com/video.php?id=110019

to http://www.mywebsite.com/video.php?id=110019

As long as your are not ripping the other site then file_get_contents will do what you want. There is no point in using a http url within include/require as only the output (text/html) of the requested script (video.php) will be returned, not the PHP source code. This is why I told you to use file_get_contents.

We're all trying to help you.  If your brother has such an amazing website that your server can't handle, he should know how to do this, right?  Why don't you show us what you have right now and tell us which errors (if any) it displays.  How about that?

You're not explaining yourself properly, What do want it to look like? How are we supposed to know whats supposed to look like if you give us fake urls.

 

If you did:

echo file_get_contents('http://www.google.com');

The google homepage will be displayed on your site. The same applies to the urls you're providing.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.