[PHP] Help with reading files
I am doing my development for our project on a Linux server, but our client uses Windows. One of the features that we have is the ability to send emails. The email feature will have a feature where the client can upload a file from their computers with a list of emails. My script would then parse out the file and send the emails. How would I access the contents of the file? We are using PHP for the development. Thanks in advance. Yasir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help with reading files
How to handle file upload is well explained right at the start of the manual. Once the file has been transfered to your server you can make use of the numerous methods described in the 'filesystem functions' of the manual to handle it. Yasir Malik wrote: I am doing my development for our project on a Linux server, but our client uses Windows. One of the features that we have is the ability to send emails. The email feature will have a feature where the client can upload a file from their computers with a list of emails. My script would then parse out the file and send the emails. How would I access the contents of the file? We are using PHP for the development. Thanks in advance. Yasir -- http://www.raditha.com/php/progress.php A progress bar for PHP file uploads. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php