/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <head> <title>PHP: File_get_contents</title> <style type="text/css"> a { text-decoration: none; } th { background: #0da; font-size: 20px !important; border-top: 10px solid #FFF; } </style> </head> <body> <?php $homepage = file_get_contents('http://www.nieuws.nl/headlines.php?binnenland=10&buitenland=10&economie=0&sport=5&muziek=0&film=0&opmerkelijk=10'); echo $homepage; ?> </body> </html>
URL: http://waldio.webatu.com/file_get_contents.php