|
-
Mar 6th, 2005, 03:56 AM
#1
<?="Moderator"?>
Re: Doubt in Download File
It is not possible to do this with PHP alone, as it would be a major secutiry risk.
The only way possible would be to have a program on the users computer that downloads the file, then you would be able to select where it would be saved, otherwise the answer is no.
-
Mar 6th, 2005, 07:41 AM
#2
Thread Starter
Junior Member
Re: Doubt in Download File
Hi John,
Do you mean the one in http://www.webshots.com/ ?
If that is the case, how to make that desktop application communicates with my server. And do I still need PHP?
-
Mar 6th, 2005, 12:57 PM
#3
Re: Doubt in Download File
You don't need PHP, but there is no reason why PHP cannot be used on the server side part of your application. Communicating with a PHP script via a desktop application isn't actually that hard as you can tunnel the communication through HTTP.
You will require the use of Sockets (WinSock - for Windows) or RPC, such as SOAP of XML-RPC. If you have a look in the Distributed Computing Forum there are many examples and code which describe how to communicate with server side applications via HTTP.
-
Mar 7th, 2005, 01:13 AM
#4
Thread Starter
Junior Member
Re: Doubt in Download File
Hi visualAd,
Thank you for your advice. I am still new in the socket programming. Haha. In fact, I only tried it in Linux platform. Not yet explore it in Windows platform.
So, if I wanna use DotNet to develop the desktop application, does Distributed Computing Forum still useful for me?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|