Michael A. Peters wrote:

$archive = /path/to/some/tarball;

should be $archive = '/path/to/some/tarball';


rest of the code is copied from a file I use to serve content that is outside the web root.

That's one of my rules - the web server never has write permission to any directory inside the web root (I don't want a server bug to allow a cracker to trick the server into writing a file it then directly serves).

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

Reply via email to