Bug #3905: Display of system files
| From: | vahidh at ision dot net dot uk | Date: | Thu, 23 Mar 2000 12:38:16 +0000 |
| Subject: | Bug #3905: Display of system files | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17167@lists.php.net to get a copy of this message | ||
From: vahidh@ision.net.uk
Operating system: Sun Sparc 2.7
PHP version: 3.0 Latest CVS (23/03/2000)
PHP Bug Type: Other
Bug description: Display of system files
php4 installed and running on Zeus Webserver
I have setup the following in php.ini which is setup in /usr/local/php.ini
doc_root=/export/home/
user_dir=/exporrt/home/vahidh
with the following php file
test.php
<?php readfile ($file); ?>
on the browser if i do test.php?file=/etc/passwd
I can see the contents
is there anything else I need to add ?