$date


$old"); fclose($file_pointer); $file = "tema1.html"; $file_point = fopen($file, "r"); $file_read = fread($file_point, filesize($file)); $old = $file_read; fclose($file_point); $file_name = "tema1.html"; $file_pointer = fopen($file_name, "w+"); fwrite($file_pointer, ""); fclose($file_pointer); $file = "tema2.html"; $file_point = fopen($file, "r"); $file_read = fread($file_point, filesize($file)); $old2 = $file_read; fclose($file_point); $file_name = "tema2.html"; $file_pointer = fopen($file_name, "w+"); fwrite($file_pointer, "$old"); fclose($file_pointer); $file = "tema3.html"; $file_point = fopen($file, "r"); fclose($file_point); $file_name = "tema3.html"; $file_pointer = fopen($file_name, "w+"); fwrite($file_pointer, "$old2"); print "Přidáno úspěsně

Zpět do Bloku"; } else { print "Nesprávné heslo!"; } } if(isset($_POST['second'])) { // CHANGE "mysecretpassword" TO YOUR DESIRED PASSWORD if($HTTP_POST_VARS['password'] == 'kablok') { $two = $_POST['blogspacetwo']; $file2 = "bs2.html"; $file_point2 = fopen($file2, "r"); $file_read2 = fread($file_point2, filesize($file2)); $old2 = $file_read2; fclose($file_point2); $file_name2 = "bs2.html"; $file_pointer2 = fopen($file_name2, "w+"); fwrite($file_pointer2, "$two

$old2"); print "Data appended to BS2 successfully

Click here for results"; fclose($file_pointer2); } else { print "Nesprávné heslo!"; } } ?>