You may want to add the following line just after 'mailto:[EMAIL PROTECTED]]
Sent: quinta-feira, 29 de Março de 2001 13:39
To: Thomas W. Badera; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] PHP and Filesystem - Solution
Some lines were wrapped on my previous msg; this one fixes that, so yo
PROTECTED]
Subject: RE: [PHP-WIN] PHP and Filesystem - Solution
First, if you're trying to get just the name of a file in a url, use
basename().
Then remove stripslahes as it corrupts binary data.
This would result in the following code that I've *TESTED* with some image
urls and modifie
First, if you're trying to get just the name of a file in a url, use
basename().
Then remove stripslahes as it corrupts binary data.
This would result in the following code that I've *TESTED* with some image
urls
and modified to print a nicely formated progress; I've also renamed some
variables...
According to what I understand of fgets() it will read the first
4096 bits of information and leave the rest behind. So
your pics will come out corrupt if they are larger than 4096 bit.
(Well at least I think it's bits. But then it might be bytes)
So all you have to do is make that number large
Because when I didn't stripslashes I got a blank image...
--TWB
- Original Message -
From: "Frank M. Kromann" <[EMAIL PROTECTED]>
To: "Thomas W. Badera" <[EMAIL PROTECTED]>
Sent: Wednesday, March 28, 2001 12:13 PM
Subject: Re: [PHP-WIN] PHP an