Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Dziwne Błędy
Matimor
post
Post #1





Grupa: Zarejestrowani
Postów: 287
Pomógł: 10
Dołączył: 22.08.2009

Ostrzeżenie: (0%)
-----


Mam takie błędy (niżej). Nie wiem o co chodzi na innym hostingu mi nawet błędu nie pokazało, a tutaj mi ich mase pokazuje, że nie ma pliku itp duperele.

  1. touch("data/".$acc_login.".sid");
  2. file_put_contents("data/".$acc_login.".sid", $NS.".".time());
  3. setcookie("session_id", $NS);
  4. setcookie("acc_login", $acc_login);
  5. header("Location: index.php");
  6. $chmod = "data/".$acc_login.".sid";
  7. chmod($chmod, 777);



Błędy
  1.  
  2. Warning: touch() [function.touch]: Unable to create file <a href="http://www.domena.pl/file/Test_Test.sid" target="_blank">http://www.domena.pl/file/Test_Test.sid</a> because No such file or directory
  3.  
  4. Warning: file_put_contents(file/Test_Test.sid) [function.file-put-contents]: failed to open stream: Permission denied
  5.  
  6. Warning: Cannot modify header information - headers already sent by (output started at index.php:9)
  7.  
  8. Warning: Cannot modify header information - headers already sent by (output started at index.php:9)
  9.  
  10. Warning: Cannot modify header information - headers already sent by (output started at index.php:9)


--------------------
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 23:46