Hi,
> just a question.
> Its possible to produce any Apache error?
> [..]
> dl_manager.php?filename=test1.zip
> [..]
if(file_exists($filename)) {
[..]
}
else {
Header("HTTP/1.0 404 Not Found");
?><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL <?php echo $filename; ?> was not found on this server.<P>
</BODY></HTML>
<?php
}
It's not actually called an "apache error", it's actually an HTTP Response
code. Check the RFC for further information.
By the way, you're on the wrong list :) There's a "PHP General" list for
questions like this.
Kind Regards,
Daniel Lorch
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]