PDA

View Full Version : Check php safe mode is working ?


JoaoCorreia
29th August 2006, 08:54 PM
How do I check if PHP Safe Mode on is working ?

Regards
Joao Correia

NightStorm
30th August 2006, 02:25 AM
Create a php file.
Inside that file, place this code (and only this code):<?php
phpinfo()
?>and browse to it. It will display all the setting that php is running under for that domain. You will find Safe_mode as one of the listings.
Also, for security purposes, delete the file when you are done to prevent unwanted people grabbing information about your server.