wcześniej było ok a teraz przestało działać ;( błąd w konsoli:


link: http://firegifts.pl/generator/
kod:
  1. <!DOCTYPE HTML>
  2. <HTML>
  3. <HEAD>
  4. <?php header('X-Frame-Options: GOFORIT'); ?>
  5. <TITLE>FireGifts - Zadania Punktowe</TITLE>
  6. <link rel="Shortcut icon" href="http://firegifts.pl/favicon.ico" />
  7. <link href="style.css" rel="stylesheet" type="text/css" />
  8.  
  9. </HEAD>
  10. <BODY>
  11. <center><img src="http://firegifts.pl/images/b_logo.png" alt="FireGifts"></center>
  12. <center><img src="kod.png" alt="FireGifts"></center>
  13. <span style="left: 620px; top: 220px; position: absolute;"><br><br> <form action="" method="post">
  14. <textarea name="text"></textarea><br>
  15. <center><input type="submit"></center>
  16. </form></span>
  17. </center></center>
  18.  
  19.  
  20.  
  21.  
  22. <?PHP
  23. if(isset($_POST['text'])){
  24. $nazwa = $_POST['text'];
  25. $kod = '<!DOCTYPE HTML>
  26. <HTML>
  27. <HEAD>
  28. <TITLE>FireGifts - Zadania Punktowe</TITLE>
  29. <link rel="Shortcut icon" href="http://firegifts.pl/favicon.ico" />
  30. <link href="style.css" rel="stylesheet" type="text/css" />
  31. </HEAD>
  32. <BODY>
  33. <center>
  34. <center><img src="http://firegifts.pl/images/b_logo.png" alt="FireGifts"></center>
  35.  
  36. <img src="kod.png">
  37. <span style="left: 620px; top: 250px; position: absolute;"><big><font size="60" color="gold" face="Myriad Pro Bold"> '.$nazwa.' </font><br><br><br>
  38. <script async src="//pagead2.googl esyndication.com/pag ead/js/adsbygoogle.j s"></script>
  39. <!-- Baner generator firegifts -->
  40. <ins class="adsbygoogle"
  41. style="display:inlin e-block;width:300px; height:600px"
  42. data-ad-client="ca-p ub-2083913410998082"
  43. data-ad-slot="804428 8255"></ins>
  44. <script>
  45. (adsbygoogle = window.adsbygoogle || []).push({});
  46. </script>
  47. </span>
  48. </div> </center></html>';
  49. $random = rand(0,9999);
  50. if ($_POST['send'] ) {
  51.  
  52. echo ' <span style="left: 500px; top: 320px; position: absolute;"><center><font color="red" size="10"> Wystapil Blad!</font></span></center>';
  53.  
  54. }
  55. else{
  56. echo ' <span style="left: 500px; top: 320px; position: absolute;"><br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<center><font color="green" size="6">&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspDodano pomyslnie!!<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspLink ADFOC.US/: </font> &nbsp&nbsp&nbsp&nbsp&nbsp<div id="frame">&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<iframe src="http://api.adf.ly/api.php?key=774bf3e091da48e3e7185ef6a1039032&uid=5690666&advert_type=int&domain=adf.ly&url=http://firegifts.pl/generator/'.$nazwa.'.html" height="50" width="150"></iframe>
  57. </div></span></center>
  58. ';
  59.  
  60. file_put_contents($nazwa.".html", $kod);
  61. }
  62. }
  63. ?>
  64. </HTML>
  65. </p>
  66. <?php
  67. ?>
  68. </BODY>
  69.  



@Ref