schneeWITCHen
Mitglied
folgendes problem beim newsscript, es kommt diese fehlermeldung
Warning: fopen("news.html", "w") - Permission denied in /var/www/web4/html/metalinferno/_news/post.php on line 77
Warning: Supplied argument is not a valid File-Handle resource in /var/www/web4/html/metalinferno/_news/post.php on line 78
Warning: Supplied argument is not a valid File-Handle resource in /var/www/web4/html/metalinferno/_news/post.php on line 79
Warning: Supplied argument is not a valid File-Handle resource in /var/www/web4/html/metalinferno/_news/post.php on line 80
Warning: Cannot add header information - headers already sent by (output started at /var/www/web4/html/metalinferno/_news/post.php:77) in /var/www/web4/html/metalinferno/_news/post.php on line 83
zugehöriger code:
hab nich wirklich viel ahnung von php, ich vermute nur das irgendwas mit der news.html datei nich stimmt ?!
Warning: fopen("news.html", "w") - Permission denied in /var/www/web4/html/metalinferno/_news/post.php on line 77
Warning: Supplied argument is not a valid File-Handle resource in /var/www/web4/html/metalinferno/_news/post.php on line 78
Warning: Supplied argument is not a valid File-Handle resource in /var/www/web4/html/metalinferno/_news/post.php on line 79
Warning: Supplied argument is not a valid File-Handle resource in /var/www/web4/html/metalinferno/_news/post.php on line 80
Warning: Cannot add header information - headers already sent by (output started at /var/www/web4/html/metalinferno/_news/post.php:77) in /var/www/web4/html/metalinferno/_news/post.php on line 83
zugehöriger code:
PHP:
$hwnd = fopen("news.html", "w");
fwrite($hwnd, $TemplateText);
fwrite($hwnd, $NewsText);
fclose($hwnd);
// zur news.php gehen
Header("Location: ../news.php");
hab nich wirklich viel ahnung von php, ich vermute nur das irgendwas mit der news.html datei nich stimmt ?!