Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Znaki specjalne
fuku
post 24.12.2002, 19:22:43
Post #1





Grupa: Zarejestrowani
Postów: 18
Pomógł: 0
Dołączył: 11.10.2002

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


Mam problem z zanakami specjalnymi typu ".

I mam księge gości .... i zapisuje się coś takiego ".

jak się tego pozbyć


--------------------
slackware 9.1 (2.4.24 + bootsplash patch)
KDE (3.2.0)
KADU CVS
Go to the top of the page
+Quote Post
ftrunks
post 25.12.2002, 17:28:08
Post #2





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 18.03.2002

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


to normalne... podczas odczytywania przefiltruj tekst funkcja stripslashes() np: $tekst = stripslashes($stary_tekst);
Go to the top of the page
+Quote Post
saper
post 19.04.2003, 11:42:09
Post #3





Grupa: Zarejestrowani
Postów: 17
Pomógł: 0
Dołączył: 28.01.2003
Skąd: Wrocław

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


A ja mam pytanie do tego zjawiska: "Co je powoduje?".
Go to the top of the page
+Quote Post
DeyV
post 19.04.2003, 11:45:31
Post #4





Grupa: Zarząd
Postów: 2 277
Pomógł: 6
Dołączył: 27.12.2002
Skąd: Wołów/Wrocław




Takie cuś, zwane magic_quotes
Cytat
magic_quotes_gpc boolean
Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When magic_quotes are on, all ' (single-quote), " (double quote), (backslash) and NUL's are escaped with a backslash automatically.

Notatka: If the magic_quotes_sybase directive is also ON it will completely override magic_quotes_gpc. Having both directives enabled means only single quotes are escaped as ''. Double quotes, backslashes and NUL's will remain untouched and unescaped.

See also get_magic_quotes_gpc()


--------------------
"Niezależnie od tego, jakie masz osiągnięcia, ktoś Ci pomaga..."
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: 31.07.2025 - 06:17