Re: automated upload with PHP
- From: "shimmyshack" <matt.farey@xxxxxxxxx>
- Date: 29 Mar 2007 10:30:50 -0700
On 29 Mar, 18:25, "shimmyshack" <matt.fa...@xxxxxxxxx> wrote:
On 29 Mar, 17:38, "Steve Poe" <steve....@xxxxxxxxx> wrote:
I work for an animal hospital trying to use PHP to store an animal's
dental x-rays to a file server.
I can browse for the xray on the local desktop computer then click
"Upload Image". This works fine. The doctors want fewer steps to
follow. So, it was asked if I can configure the browser to load/submit
the image 'xray.tif' each time they click "Upload Image" instead of
the doctor/animal technician having to look for for dental x-ray
image.
Does PHP support such a feature to pull/load a file of the client's
computer? My three PHP books aren't helping, but I am probably looking
in the wrong direction.
Thanks.
Steve
sure, you can script on the client using what is called active
scripting.
its nice and familiar, so you would either
1) have your script one once per day and upload any images not already
uploaded from a set of folders
2) configure explorer so you can right click and select upload image,
your php script would be run in the bvackground with argument such as
c:\path\to\php -r "%1"
and it would do the rest.
Why not use FTP if you are scripting this, as it will be nice and
robust and can interact is a predicatable way with your fileserver -
providing it can have an ftp serve running on it, like filezilla
server.
oops I should have added, that if you have a few computers you need to
install this on you could use NSIS (Nullsoft Scriptable Install
System) http://nsis.sourceforge.net/Main_Page to wrap up everything
including the script that makes the right click functionality between
tiffs and the php script, and distribute that.
.
- Follow-Ups:
- Re: automated upload with PHP
- From: Steve Poe
- Re: automated upload with PHP
- References:
- automated upload with PHP
- From: Steve Poe
- Re: automated upload with PHP
- From: shimmyshack
- automated upload with PHP
- Prev by Date: Re: automated upload with PHP
- Next by Date: Re: Reboot Linux Service with PHP
- Previous by thread: Re: automated upload with PHP
- Next by thread: Re: automated upload with PHP
- Index(es):