Programming, website development forum Get latest updates by RSS Follow TechnicalTalk on Twitter Follow TechnicalTalk on Facebook 
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password    
  Forgot your password?  

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

Magic Quotes

 
webmaster forum
Activity
0%
 
New Coder
Posts: 26
Topics: 12
January 21, 2009, 05:12:36 AM

try to test it on your server to see if magic quotes is enabled by doing this.

create a file name. mqtest.php and add this code inside.

Code:
if(get_magic_quotes_gpc())
{
echo "Magic Quotes is currently enabled on your server.";
}else{
echo "Magic Quotes is currently disabled on your server.";
}
 
webmaster forum
polas  Offline
Activity
33.33%
 
Code Guru
Gender: Male
Posts: 1399
Topics: 85
WWW
January 21, 2009, 07:15:42 AM

Cheers for posting that - be aware, if the above doesn't work as expected then it is because magic quotes has been depreciated since PHP 5.3 and removed from PHP6.

Mesham Type Oriented Parallel Programming Language, Free online technical support
 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.15 | SMF © 2011, Simple Machines


Google visited last this page February 04, 2012, 09:16:55 PM