Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] Problem z kalendarze, Jakis bład
piotrek_mag
post 19.10.2006, 14:15:20
Post #1





Grupa: Zarejestrowani
Postów: 33
Pomógł: 0
Dołączył: 23.09.2006

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


Oto on:
Kod
Parse error: syntax error, unexpected '(', expecting T_STRING in /usr/export/www/vhosts/funnetwork/hosting/gimnazjum/sprawdziany/config.inc.php on line 40



linia 35-45:
  1. <?php
  2. // Start buffering
  3.  
  4. // unescape special characters if enabled by default.
  5. $function stripslashes_deep($value)
  6. $char_array = array('"' => '&quot;', '<' => '&lt;', '>' => '&gt;');
  7.  
  8. $value = is_array($value) ?array_map('stripslashes_deep', $value) : strtr(stripslashes($value), $char_array);
  9. return $value;
  10. }
  11. ?>


--------------------
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 1)
nospor
post 19.10.2006, 14:39:46
Post #2





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




yyy, a co niby ma oznaczac ten kod:
  1. <?php
  2. $function stripslashes_deep($value)
  3. ?>

?

Przenosze


--------------------

"Myśl, myśl, myśl..." - Kubuś Puchatek || "Manual, manual, manual..." - Kubuś Programista
"Szukaj, szukaj, szukaj..." - Kubuś Odkrywca || "Debuguj, debuguj, debuguj..." - Kubuś Developer

Go to the top of the page
+Quote Post

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 Wersja Lo-Fi Aktualny czas: 18.07.2025 - 02:59