PHP - Display_errors = Off Php.ini
Hey guys, I have on my server, my php.ini file and I have set up display_errors = Off
I have created a simple php file to test this: <?php $client_ip = $_SERVER['REMOTE_ADDR'] // the ; <----- is not there on purpose, to receive the error below echo $client_ip; ?> PHP Parse error: syntax error, unexpected T_ECHO in E:\home\mysite\Web\IPtest.php on line 5 Parse Error shouldnt be displayed? or I am incorrect? Do I need to disable something else on my php.ini file? I just want more security and dont really know if display_errors = Off is working, Any ideas or suggestions? Thanks a lot in advance! Cheers. Similar TutorialsMy provider says that my display_errors is set to off ( in an email, also I have a new provider and I can't see how to get to php.ini yet) I always thought that if display_errors is set to off that when a php error would occur that the screen would go blank from that spot and beyound. However when I put in the wrong connect info by mistake I got Warning: require( PATH TO connect.php (I changed this)) [function.require]: failed to open stream: No such file or directory in /this directory (I changed this) on line 10 Should this stuff be showing with display_errors set to off ? |