Results 1 to 5 of 5

Thread: Doubt in Download File

Hybrid View

  1. #1
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099

    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.

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    29

    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?

  3. #3
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    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.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    29

    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
  •  



Click Here to Expand Forum to Full Width