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.
The problem
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 po
[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
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.
The problem with the code above is the path to the file does not show up
in the , and the user would still need to click on the
>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.
>The problem with the code above is the path to the file does not show up
>in the , and the user would still need to click on the
>'submit button'
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 ap
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 s
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
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
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.tx
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
usin
11 matches
Mail list logo