The only part i am having trouble with is making the remote script automatically look into the local computer's hard drive and grab the .txt file.
<snip>
The problem with the code above is the path to the file does not show up in the <input type='file'>, and the user would still need to click on the 'submit button' to upload the file.
You're out of luck - for security reasons, the file input widget is intentionally resistant to scripting/styling.
Like I said, find another method. Try writing a batch file that will FTP them to your server and have a cron script process them.
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php