At 13:45 24.02.2003, Patrick Teague said:
--------------------[snip]--------------------
>readfile(include($afile));
--------------------[snip]-------------------- 

You don't need to include the file you're going to read... simply give
    readfile($file)
and you'll be set.

include() tries to _execute_ the file as PHP code, and chokes at the binary
data.


-- 
   >O     Ernest E. Vogelsinger
   (\)    ICQ #13394035
    ^     http://www.vogelsinger.at/



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

Reply via email to