note 9364 added to PDF functions

From: Date: Sun, 29 Oct 2000 11:36:42 +0000
Subject: note 9364 added to PDF functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-7172@lists.php.net to get a copy of this message
The script getpdf.php should only be used to learn the concept of passing a file through a script and not actually used to perform this task. In its current state, there is a large security flaw which enables many files (including all your php source) to be viewed by anyone. For example http://server/getpdf.php?filename=/etc/passwd shows the servers machines password file. http://www.php.net/manual/ref.pdf.php

« previous php.notes (#7172) next »