webmastersworld: ... mit html-form php-inhalte ändern, respektive

Beitrag lesen

Warning: chmod failed: Operation not permitted in /var/www/srv02183/html/test_hp/test2/mod777.php on line 2

Warning: fopen("connect.php", "w") - Permission denied in /var/www/srv02183/html/test_hp/test2/connect.php on line 13

Warning: Supplied argument is not a valid File-Handle resource in /var/www/srv02183/html/test_hp/test2/connect.php on line 14

Warning: Supplied argument is not a valid File-Handle resource in /var/www/srv02183/html/test_hp/test2/connect.php on line 15

leider macht er das jetzt--> das ist das ganze mod777.php
<?
line 2:chmod ("./connect.php", 0777);
?>

--> das gehört zu connect.php

line 13:  $config_file = fopen('connect.php', 'w');
line 14:  fputs($config_file, $config);
line 15:  fclose($config_file);