Sorry for the delay in responding. I do not want to run PHP client side. I would rather not deal with the security and install issues. Also the users need to be able to use any browser on any machine.
Here is a more detailed description of what I am trying to accomplish: I am making a CRM web application that will track mortgages for small mortgage companies. The app will track the loans from start (first phone call with the client) to finish (loan is funded). The Loan Officers will be able to sign in to the system and log and review the latest changes/issues relating to the loan. The mortgage company uses software called "Point" that runs on each Loan Officers Windows desktop. "Point" helps them fill out the required paperwork for each loan. This software will export Tab Delimited files that I want to import into my CRM application. When a Loan Officer clicks "export data" Point can launch a .exe, and create a .txt file at the same time. So in a effort to upload the Point .txt file as quickly as possible, I want to make Point launch a browser with my remote script and have the remote script automatically grab the .txt file from the local machine, upload it and put it into the CRM's database. 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. I have tried to make the script upload a file like this: ///////////////////////////////////////////// <form enctype='multipart/form-data' method='post' action='$_SERVER[PHP_SELF]'> <input type='hidden' name='MAX_FILE_SIZE' value='200000'> <input type='file' name='pointFile' value='C:\Documents and Settings\user\Desktop\loan_details.txt'> <input type='submit' value='Upload' name='submit'> </form> ////////////////////////////////////////////// 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. I hope this all makes sense and I appreciate your time and help. thanks, j cheryl. "Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi John, > > My Impression from Jane's mail was that she was thinking of using a PHP > script on the client side and not the server side. Am i correct jane? If > so there would not be security concerns. Obviously as john has so > rightly pointed out php on the server side cannot access local files. > > The only effective way then would be to use signed java applets (which > contrary to popular belief can access local files if you give it the > right permissions) > > > > > John W. Holmes wrote: > > > jane wrote: > > > >> I have a .txt file on my local Windows 2000 box that i want uploaded > >> to a > >> remote L.A.M.P. server with only one click. > >> > >> I want to have a link (shortcut) on my desktop when clicked it > >> launches a > >> web browser loaded with a remote .php script that automatically goes > >> into > >> C:\data\upload_me.txt and uploads "upload_me.txt" > >> > >> I know how to upload files using php with a "browse to file" html > >> form, but > >> i want to skip the form and have the file just upload automatically > >> when the > >> script is loaded. > >> > >> I don't know how to make the .php script automatically grab the file > >> from my > >> local box and upload it without any user intervention. > > > > > > You can't. That would be a horrible security violation. Think of a > > different method. > > > > > -- > http://www.radinks.com/upload > Drag and Drop File Uploader. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php