[PHP] [secure PHP] Error handling (again)

2003-08-03 Thread thierry lhomme
Hi !

I still have found no satisfying solution to my problem yet...

At home, when an error occurs in an script I got something like this :

Warning: unlink() failed (No such file or directory) in c:\program
files\easyphp\www\php_scripts\index.php on line 356

but my provider in the same case delivers this :

Warning: unlink() failed (No such file or directory) in index.php on line
347

... and that's much better, don't you think ?!

The question is : How do they do that ??

The answer is apparently NOT in the php.ini file...


My provider runs PHP 4.2.2
... and Apache/1.3.26 (Unix) Debian GNU/Linux mod_fastcgi/2.2.12
mod_perl/1.26


Thanx a lot for your ideas !!



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] [security] NOT the path of the script in case of error

2003-07-26 Thread thierry lhomme
Hello !

I have a problem with security  found no satisfying solution yet :

at home, when an error occurs in my script I got something like this :

Warning: unlink() failed (No such file or directory) in c:\program
files\easyphp\www\page_perso_free\php_scripts\ultra_php.php on line 356
texte.txt n'est pas supprimé...

but my provider in the same case delivers this :

Warning: unlink() failed (No such file or directory) in ultra_php.php on
line 347
texte.txt n'est pas supprimé...

that's much better !!

My question is : How do they do that ??

My provider runs PHP 4.2.2


Thanx a lot !!


ps. to this :

?php echo $_SERVER [SERVER_SOFTWARE] ?

my provider returns :

Apache/1.3.26 (Unix) Debian GNU/Linux mod_fastcgi/2.2.12 mod_perl/1.26

pps. sorry if I have not sent this message the right way (and for my poor
english too)...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php