Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Dziwne Komunikaty
ceo
post
Post #1





Grupa: Zarejestrowani
Postów: 42
Pomógł: 0
Dołączył: --

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


wrzucilem strone na serwer, zobaczcie sami pod tym adresem :

http://bydgoszcz.wsinf.edu.pl/~lestas/speedrower/index.php

no i problem jest taki ze wczesniej jak mialem na innym serwerze to nie bylo zadnych problemow a teraz sa w postaci nastepujacych komunikatow:


Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 1000000 bytes) in /home/02j/lestas/public_html/speedrower/pokaz.php on line 13

Notice: Undefined variable: op in /home/02j/lestas/public_html/speedrower/o_nas.php on line 58

Notice: Undefined variable: op in /home/02j/lestas/public_html/speedrower/ksiega_funkcje.php on line 35

mozecie powiedziec co mam z tym zrobic ? wlasciwie co mam powiedziec adminowi , co ma wlaczyc .
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
ceo
post
Post #2





Grupa: Zarejestrowani
Postów: 42
Pomógł: 0
Dołączył: --

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


Cytat
Mozna wylaczyc raportowanie NOTICE, np error_reporting=E_ALL &~E_NOTICE



ale to w php.ini sie robi ? to musze adminowi serwera powiedziec o tym

a kod mam taki przykladowo :

  1. <?php
  2. include(&#092;"./haslo.php\");
  3. if (($_POST['dupa']==$pass) && (isset($_POST['dupa']))) {
  4. echo&#092;"<div align=\"Center\\"><form method=post action=administracja.php>
  5. <input type=hidden name=dupa value=&#092;\"$pass\">
  6. <input type=submit name=newsy value=&#092;\"Newsy\">
  7. </form></div>&#092;";
  8. echo&#092;"<div align=\"Center\"><form action=\"admin_o_nas.php\" method=\"post\">
  9. <input type=hidden name=dupa value=&#092;\"$pass\">
  10. <input type=submit name=galeria value=&#092;\"O nas\">
  11. </form></div>&#092;";
  12. echo&#092;"<div align=\"Center\"><form method=post action=admin_o_klubie.php>
  13. <input type=hidden name=dupa value=&#092;\"$pass\">
  14. <input type=submit name=galeria value=&#092;\"O Klubie\">
  15. </form></div>&#092;";
  16. echo&#092;"<div align=\"Center\"><form method=post action=admin_galeria.php>
  17. <input type=hidden name=dupa value=&#092;\"$pass\">
  18. <input type=submit name=galeria value=&#092;\"Galeria Zdjęć\">
  19. </form></div>&#092;";
  20. echo&#092;"<div align=\"Center\"><form method=post action=admin_me2004.php>
  21. <input type=hidden name=dupa value=&#092;\"$pass\">
  22. <input type=submit name=galeria value=&#092;\"ME 2004\">
  23. </form></div>&#092;";
  24. echo&#092;"<div align=\"Center\"><form method=post action=admin_ks.php>
  25. <input type=hidden name=dupa value=&#092;\"$pass\">
  26. <input type=submit name=galeria value=&#092;\"Księga Gości\">
  27. </form></div>&#092;";
  28. echo&#092;"<div align=\"Center\">
  29. <b><a href=&#092;\"info.txt\" target=_blank>Instrukcja dla Adminów!!!</a></b></div>\";
  30. } else { echo &#092;"<form name=form1 action=$PHP_SELF method=post><div align=\"Center\\">Hasło : <input type=\"password\" name=\"dupa\" size=20>
  31. <input type=submit name=submit value=OK></div>
  32. </form>&#092;";
  33. }
  34. ?>



i jak nie wpisano jeszcze nic to wywala komunikat
Notice: Undefined index: dupa in /home/02j/lestas/public_html/speedrower/admin.php on line 13

dopiero jak wpisze zla wartosc lub dobra to kumikat znika

Ten post edytował ceo 17.06.2004, 13:59:48
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: 4.10.2025 - 16:05