hi... ich hab es eigentlich schon offt gemacht aber diesmal will es einfach nicht ka warum... )=
Code:
if ($anzahl != 0 )
{
$time = time();
$a_bestellung = $artikel_tab." , ".$_id." , ".$anzahl.",".$time."/n";
// in datei schreiben!
$user = $_SERVER['REMOTE_ADDR'];
$datei = "data/bestellungen/".$user.".txt";
$fp = fopen("$datei", "a");
fwrite($fp,$a_bestellungen);
fclose($fp);
}
Fehlermeldung:
Warning: fopen(data/1.txt): failed to open stream: No such file or directory in /www/htdocs/v074626/muenz/webshop/bestellen.php on line 26
Warning: fwrite(): supplied argument is not a valid stream resource in /www/htdocs/v074626/muenz/webshop/bestellen.php on line 28
Warning: fclose(): supplied argument is not a valid stream resource in /www/htdocs/v074626/muenz/webshop/bestellen.php on line 30
----
ich komm da einfach nicht weiter. könnt ihr mir mal bitte kurz helfen was falsch ist ?