Re: [PHP] How can I auto upload a file to the server?

2003-09-29 Thread Raditha Dissanayake
CPT John W. Holmes wrote: From: Raditha Dissanayake [EMAIL PROTECTED] 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

Re: [PHP] How can I auto upload a file to the server?

2003-09-29 Thread Raditha Dissanayake
Hi John, Yops you are very right, this is only a few lines of visual basic or java code. John W. Holmes wrote: Mike Migurski wrote: 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

RE: [PHP] How can I auto upload a file to the server?

2003-09-25 Thread Jay Blanchard
[snip] But, as we all know, PHP doesn't run client side, so she'd have to turn her computer into a web server or run PHP from the command line. There still isn't a way to automatically submit a file over HTTP using either method, though. FTP would work, though... [/snip] I am surprised that this

Re: [PHP] How can I auto upload a file to the server?

2003-09-24 Thread Raditha Dissanayake
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

Re: [PHP] How can I auto upload a file to the server?

2003-09-24 Thread CPT John W. Holmes
From: Raditha Dissanayake [EMAIL PROTECTED] 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

Re: [PHP] How can I auto upload a file to the server?

2003-09-24 Thread jane
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

Re: [PHP] How can I auto upload a file to the server?

2003-09-24 Thread Mike Migurski
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

Re: [PHP] How can I auto upload a file to the server?

2003-09-24 Thread John W. Holmes
Mike Migurski wrote: 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

[PHP] How can I auto upload a file to the server?

2003-09-23 Thread jane
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

Re: [PHP] How can I auto upload a file to the server?

2003-09-23 Thread Raditha Dissanayake
Hi, The exact mechanism you mentioned cannot be easily created with php. What you can do is the install PHP command line version on your system and upload directly with that using a php script completly bypassing the browser. In that case though you will need to create write the post data

Re: [PHP] How can I auto upload a file to the server?

2003-09-23 Thread John W. Holmes
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

Re: [PHP] How can I auto upload a file to the server?

2003-09-23 Thread Jason Sheets
You might look at SCP using the PuTTY SCP or another SSH client to securely upload the file. You could automate it in a batch file and make a short-cut to the batch file. Doing this over the web is not a good method like John said. If you use SCP you can setup an SSH key so that you are not