Jump to content

Enable magicquotes on godaddy


Recommended Posts

I need to enable magicquotes on my godaddy share server hosting account. i have this on my php5.ini and php.ini files. Someone knows what I need to add?

 

I added this line and nothing happens---- magic_quotes_gpc = on

 

 

register_globals = off

allow_url_fopen = on

magic_quotes_gpc = on

expose_php = Off

max_input_vars = 1300

max_input_time = 60

variables_order = "EGPCS"

extension_dir = ./

upload_tmp_dir = /tmp

precision = 12

SMTP = relay-hosting.secureserver.net

url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

 

 

; Only uncomment zend optimizer lines if your application requires Zend Optimizer support

 

;[Zend]

 

 

zend_extension = /var/chroot/home/content/46/10800346/html/ioncube/ioncube_loader_lin_5.3.so

 

;zend_optimizer.optimization_level=15

;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3

;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3

;zend_extension=/usr/local/Zend/lib/Optimizer-3.3.3/ZendExtensionManager.so

;zend_extension_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3/ZendExtensionManager_TS.so

 

 

;

 

 

 

-- Be very careful to not to disable a function which might be needed!

; -- Uncomment the following lines to increase the security of your PHP site.

 

;disable_functions = "highlight_file,ini_alter,ini_restore,openlog,passthru,

; phpinfo, exec, system, dl, fsockopen, set_time_limit,

; popen, proc_open, proc_nice,shell_exec,show_source,symlink"

Link to comment
Share on other sites

Did you add all three of these? (Third maybe not necessary, just in case...)

 

 

; 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 = On

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

magic_quotes_sybase = On

 

 

My 2 cents,

pascal

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...