RE: [PHP] PHPBuilder.com Has an Easy File Upload Article, does any1 know
Search http://www.weberdev.com for download. Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Caleb Carvalho [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 10:31 PM To: [EMAIL PROTECTED] Subject: [PHP] PHPBuilder.com Has an Easy File Upload Article, does any1 know Hi all, PHPBuilder.com Has an Easy File Upload Article, i find it to be very useful and helpful for my situation, does any one know of a similar but for download the uploaded file? I would like to upload and download file in my server directory using php, please, please let me know of any article that can help me, in the mean time i'll keep searching for solution; many thanks Caleb _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHPBuilder.com Has an Easy File Upload Article, does any1 know
Hi Here is a script that will send any file for download, even .html files. I called it send.php ? $headertxt = Content-Disposition: attachment; filename=\.$filename.\; header(Content-Type: application/force-download);header($headertxt); $fd = fopen($filename,r); fpassthru($fd); ? usage is send.php?filename=file_to_send Looks weird but it works Tom At 06:31 AM 7/03/2002, Caleb Carvalho wrote: Hi all, PHPBuilder.com Has an Easy File Upload Article, i find it to be very useful and helpful for my situation, does any one know of a similar but for download the uploaded file? I would like to upload and download file in my server directory using php, please, please let me know of any article that can help me, in the mean time i'll keep searching for solution; many thanks Caleb _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php