Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Closed TopicStart new topic
> Głupoty
sokzzuka
post
Post #1





Grupa: Zarejestrowani
Postów: 22
Pomógł: 0
Dołączył: 9.12.2005

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


wszystko mi dziala w skrypcie spoko, tylko na gorze strony wyswietlaja mi sie jakies smieci: " ďťż " taki ciag znakow zaraz przed DTD, <head> itp... macie jakies pomysly co to moze byc ? listing:
  1. <?
  2.  
  3. define('IN_SCRIPT','true');
  4.  
  5. require('lib/mysql_connect.php');
  6. require('lib/db_functions.php');
  7. require('lang.php');
  8. require('lib/valid.php');
  9. require('lib/auth.php');
  10.  
  11. if(empty($_GET['module'])){
  12. $_GET['module']='main';
  13. }
  14.  
  15. $valid['module']=validate($_GET['module'],0,0);
  16. $valid['action']=validate($_GET['action'],0,0);
  17. $valid['id']=validate($_GET['id'],0,0);
  18.  
  19. $error=show_error($valid);
  20.  
  21. if(!empty($error)){
  22. require('log.php');
  23. echo"{$error[0]} , {$error[1]}";
  24. include('footer.inc');
  25. } else {
  26. unset($valid);
  27. require('log.php');
  28. //echo $login_msg;
  29.  
  30. $auth=auth($_SESSION['user_id'],escape_data($_GET['module']));
  31.  
  32. $auth0=auth_level0($auth,escape_data($_GET['module']),escape_data($_GET['action']),escape_data($_GET['id']), $_SESSION['user_id']);
  33.  
  34. if(!is_numeric($auth0)) {
  35. die($auth0);
  36. }
  37. include('footer.inc');
  38. }
  39.  
  40. ?>
Go to the top of the page
+Quote Post
AxZx
post
Post #2





Grupa: Zarejestrowani
Postów: 1 385
Pomógł: 55
Dołączył: 1.03.2005
Skąd: śląsk

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


szukaj
kodowanie strony
utf-8
Go to the top of the page
+Quote Post
nospor
post
Post #3





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




Cytat
Głupoty
hmmm, fajny tytuł, nie ma co.
zamykam
jesli chcesz by go otwarto, podeslij mi nowa poprawną nazwe tematu
Go to the top of the page
+Quote Post

Closed TopicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.09.2025 - 12:41