How do I include a website in PHP?
I tried this :
- Code: Select all
<?php
include 'http://www.cnn.com';
?>
But the relative links are wrong...
Try it yourself and you'll see what I mean...
Thanks!
Alex
Moderators: macek, egami, gesf
<?php
include 'http://www.cnn.com';
?>

header("Location: http://www.cnn.com");


Return to PHP coding => General
Users browsing this forum: No registered users and 2 guests