A
Anonymous
Gast
hi,
eine kleine Frage:
Ich bekomme immer folgende Fehlermeldung:
Warning: fopen(/srv/www/htdocs/text.txt): failed to open stream: Permission denied in /srv/www/htdocs/test3.php on line 9
Was mache ich falsch ???
Hier ist mein kleines php-skript:
<html>
<head>
<title>Saugen</title>
</head>
<body>
<?php
$ch=curl_init("http://www.finanztreff.de/ftreff/index.htm");
$fp=fopen("/srv/www/htdocs/text.txt",w);
curl_setopt($ch,curlopt_file,$fp);
curl_setopt($ch,curlopt_header,0);
curl_exec($ch);
curl_close($ch);
fclose($fp);
?>
</body>
</html>
eine kleine Frage:
Ich bekomme immer folgende Fehlermeldung:
Warning: fopen(/srv/www/htdocs/text.txt): failed to open stream: Permission denied in /srv/www/htdocs/test3.php on line 9
Was mache ich falsch ???
Hier ist mein kleines php-skript:
<html>
<head>
<title>Saugen</title>
</head>
<body>
<?php
$ch=curl_init("http://www.finanztreff.de/ftreff/index.htm");
$fp=fopen("/srv/www/htdocs/text.txt",w);
curl_setopt($ch,curlopt_file,$fp);
curl_setopt($ch,curlopt_header,0);
curl_exec($ch);
curl_close($ch);
fclose($fp);
?>
</body>
</html>