In article <[EMAIL PROTECTED]>, Scott Taylor wrote:
> "I have tried twice, both times its starts to download but stops about 
> half way or three-quarters the way complete. I get a error message that 
> the download was not completed. When I go to look at the message there 
> is just numbers. I have tried to download again but the "numbers" show 
> up and it won't let me try again."

Perhaps the execution time has been exceeded? 

>     if (file_exists($file))
>     {
>             // a switch would be perfect here,
>             // but it just didn't work last time...it was always
>             // taking the 'default:' case

Probably because you forgot to put a break.
Also this is discussed in the manual. 

And a lazy programmer would lookup the extension - content-type
relationship in a file like /etc/mime.types :)


-- 
Tim Van Wassenhove <http://home.mysth.be/~timvw>

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

Reply via email to