Re: Saving Files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



prthomp@xxxxxxxx wrote:

> 3. Saves/downloads the file to that exact location as pulled from and
> replaces the old file

Ain't no way you're going to be allowed to decide where to save files on
*MY* computer!

That would be a MAJOR security hole...

Now let's look at ways you *COULD* do this.

First, you're looking at a DESKTOP application that can arbitrarily
read/open/write files on the user's desktop.

To keep it relevent, we'll then suggest you use PHP-GTK: http://gtk.php.net

So your user has to install your PHP-GTK application on their own computer.

Then, your GTK PHP application can read/write files on their computer
(assuming they have permission to do so in the first place) and you can
use the functions like http://php.net/file to "talk" to your web-server.

So it *could* be done, with the rather *HUGE* caveat that you have to get
users to install your PHP GTK application on their machine.

NOTE: There might be easier/faster ways to accomplish building a desktop
application, depending on your skills and background.  But PHP-GTK is one
very good possible solution, which will also for sure have the web access
part of it pretty easy.  Plus it will be portable to many OSes.  And you
can compile it to make it look like a "real" application, as I understand
it -- though that might cost money for the compiler.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux