RE: [PHP-WIN] PHP and Filesystem - Solution Fixed

2001-03-29 Thread Fernando Madruga
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

RE: [PHP-WIN] PHP and Filesystem - Solution

2001-03-29 Thread Fernando Madruga
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

RE: [PHP-WIN] PHP and Filesystem - Solution

2001-03-29 Thread Fernando Madruga
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...

RE: [PHP-WIN] PHP and Filesystem

2001-03-28 Thread Mangiola Nunzio Datavia
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

Re: [PHP-WIN] PHP and Filesystem

2001-03-28 Thread Thomas W. Badera
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