Reply to Re: automated upload with PHP

Your name:

Reply:


Posted by shimmyshack on 03/29/07 17:30

On 29 Mar, 18:25, "shimmyshack" <matt.fa...@gmail.com> wrote:
> On 29 Mar, 17:38, "Steve Poe" <steve....@gmail.com> 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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация