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 Link to comment https://forums.phpfreaks.com/topic/68027-php-safe-mode-login-system/ 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...? Link to comment https://forums.phpfreaks.com/topic/68027-php-safe-mode-login-system/#findComment-341961 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? Link to comment https://forums.phpfreaks.com/topic/68027-php-safe-mode-login-system/#findComment-342041 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); Link to comment https://forums.phpfreaks.com/topic/68027-php-safe-mode-login-system/#findComment-342043 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) Link to comment https://forums.phpfreaks.com/topic/68027-php-safe-mode-login-system/#findComment-342066 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.