#21811 [Opn->Bgs]: Viewing files on disk
| From: | sniper@php.net | Date: | Wed, 22 Jan 2003 05:18:23 +0000 |
| Subject: | #21811 [Opn->Bgs]: Viewing files on disk | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30898@lists.php.net to get a copy of this message | ||
ID: 21811
Updated by: sniper@php.net
Reported By: kuk@megared.net.mx
-Status: Open
+Status: Bogus
Bug Type: Output Control
Operating System: Linux
PHP Version: 4.2.2
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
You really need to ask this on some general mailing list..
Previous Comments:
------------------------------------------------------------------------
[2003-01-21 18:44:11] kuk@megared.net.mx
Just to know if it correc to see /etc/passwd for example, I did a
simple script like this.
pag1.html
--------------------------------
<html>
<body>
<p>:-D</p>
<form action="ensena.php" method="POST">
<input type="text" name="file"><input type="submit">
</form>
</body>
</html>
----------------------------------
ensena.php
----------------------------------
<?
$archivo = $_POST['file'];
readfile($archivo);
?>
----------------------------------
so you can put "/etc/passwd" and the it is showed, just wanna know if
this is correct..
Regards.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21811&edit=1