i was set new individual folder for saving session
values,the folder name is session and i set 777
permission,using session.save_path function like
session.save_path
"/home21b/sub004/sc21311-ULCX/candyoflove.com/session/" but
it causing Warning: Unknown(): SAFE MODE Restriction in
effect. The script whose uid/gid is 12112/12112 is not
allowed to access
/home21b/sub004/sc21311-ULCX/candyoflove.com/session owned
by uid/gid 12267/12267 in Unknown on line 0 ,please tell
what changes make this script, i was using .htaccesss
file..plz help me....

Answer Posted / amitverma

I think you also need to change the following value(s) in
PHP.INI file -

safe_mode_gid
safe_mode_include_dir
safe_mode_exec_dir

Setting these directives appropriately, you can pass over
these difficulties..

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you declare a function that receives one parameter name hello?

522


Can we use session in mvc?

560


How can we access the data sent through the url with the get method?

595


What is regular expression in php?

537


What are the features and advantages of object-oriented programming in php?

492






What does $_env means?

555


Explain what is the difference between for and foreach?

535


How to remove leading and trailing spaces from user input values in php?

546


How do I clear my browser session?

515


Difference between array_combine and array_merge?

528


Explain me what is the use of header() function in php?

622


What is call by reference in php?

516


What is the use of mysql_fetch_assoc in php?

516


explain php variable length argument function.

583


What is overriding in php?

611