Turning magic quotes on

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Turning magic quotes on

Postby mrbeardy » 13. February 2006 13:08

I'm installing a copy of Symfony:

http://www.symfony-project.com/

and it requires that magic quotes be turned off. I've tried but can't work out how to do this.

Any hints or help would be appreciated!
mrbeardy
 
Posts: 1
Joined: 13. February 2006 12:59

Postby KingCrunch » 13. February 2006 13:21

In php.ini
Code: Select all
; Magic quotes
;

; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = On

; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
magic_quotes_runtime = Off

; Use Sybase-style magic quotes (escape ' with '' instead of \').
magic_quotes_sybase = Off

At runtime
Code: Select all
string stripslashes ( string str )

Code: Select all
$string = stripslages($string);
Nicht jeder Fehler ist ein Bug ...
KingCrunch
 
Posts: 1724
Joined: 26. November 2005 19:25


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 45 guests