Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (isset($_POST['url']) && !empty($_POST['url'])) {
- $page = file_get_contents($_POST['url']);
- $page = str_replace("</head>", "<link rel='stylesheet' ... /></head>", $page);
- echo $page;
- exit(1);
- }
- ?>
- <html>
- <head>
- <title>Test</title>
- </head>
- <body>
- <form action="" ... >
- <input type="text" name="url" ... />
- <input type="submit" ... />
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement