Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] exec() has been disabled for security reasons
Lirdoner
post
Post #1





Grupa: Zarejestrowani
Postów: 500
Pomógł: 1
Dołączył: 29.09.2009

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


Co oznacza ten błąd
exec() has been disabled for security reasons

Mam go w liczniku
  1. <?php
  2. $type = "text";
  3. $file = file("count.txt");
  4. $num = ($file[0] + 1);
  5. exec("echo $num > count.txt");
  6. switch($type) {
  7. case "text":
  8. echo $num;
  9. break;
  10. case "gfx":
  11. $i = 0;
  12. $cntn = strlen($num);
  13. while($i < $cntn) {
  14. $tmpnum = substr($num, $i, 1);
  15. echo("<img src=\"$dir/$tmpnum$format\">");
  16. $i++;
  17. }
  18. break;
  19. case "q":
  20. break;
  21. default:
  22. echo("count.php <b>error</b> : type not specified.");
  23. break;
  24. }
  25. ?>
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 26.09.2025 - 06:19