gazever Posted September 5, 2007 Share Posted September 5, 2007 Hi, I have worked on a login system, but when I have uploaded to my host it doesnt work, after a bit of research I have realised that php safe mode is on, How do I get around this problem if I cannot hold session data. Please could someone point me in the right direction. Thanks Quote Link to comment Share on other sites More sharing options...
Aureole Posted September 5, 2007 Share Posted September 5, 2007 Change host, ask your host to turn safe mode off I know that's obvious but what else is there to do...? Quote Link to comment Share on other sites More sharing options...
gazever Posted September 5, 2007 Author Share Posted September 5, 2007 Is that really it, no workarounds? I have thought about apending a get to all links, but that just seems stupid, It is only for a site owner admin so he can update some text file etc, is htaccess an option can this protect a php script and only give acess to an area with a password? Quote Link to comment Share on other sites More sharing options...
xyn Posted September 5, 2007 Share Posted September 5, 2007 nope use this at the top of your page. ini_set('safe_mode', 0); Quote Link to comment Share on other sites More sharing options...
d22552000 Posted September 5, 2007 Share Posted September 5, 2007 on most servers (obviously security) ini set is DISABLED. wanna know why? so you dont insert your own 50kb php.ini at the top of every page (hey I tried it once, my host didnt notice for a whole year) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.