12 replies
Hi Guys

I'm looking for a Windows installer for PHP scripts.

The user downloads a single EXE, runs it on their PC, asks them for FTP login info then uploads a series of PHP scripts to their website.

Any recommendations for this?

Cheers,

Neil
#installer #php #script
  • Profile picture of the author n7 Studios
    Hi Neil,

    I'm not aware of anything that does this (but I'm sure there's software out there - you'd be looking down the avenue of getting some source code for a basic FTP app and pre-defining which PHP scripts it uploads).

    As a seperate thought, have you considered using a PHP script on your web host to do the same task i.e. users could log in with their username and password, provide their FTP details, and then your online script can upload the necessary PHP scripts to their FTP server, and even then execute them to run any installation routines etc.

    I'm currently working on something similar for a CMS-style project, so if you need any more advice, feel free to drop me a PM.

    Tim.
    {{ DiscussionBoard.errors[411286].message }}
    • Profile picture of the author Neil Morgan
      Hi Tim

      Thanks - I hadn't thought of doing it that way.

      Doing it as a server-based thing is cool idea because it gives me full control over the process, updates, licensing etc.

      I'll have a think about how I could best implement it.

      Cheers,

      Neil
      Signature

      Easy email marketing automation without moving your lists.

      {{ DiscussionBoard.errors[411351].message }}
      • Profile picture of the author Valdor Kiebach
        Let me know how you get on with this as I would be interested in this sort of thing. If you cant find any script already to do this then maybe we can get together and create one.
        I have seen a couple of windows exe's that do this, 1 was for the youtube video site creator thing and the other was for a membership site script.
        Originally Posted by Neil Morgan View Post

        Hi Tim

        Thanks - I hadn't thought of doing it that way.

        Doing it as a server-based thing is cool idea because it gives me full control over the process, updates, licensing etc.

        I'll have a think about how I could best implement it.

        Cheers,

        Neil
        {{ DiscussionBoard.errors[411467].message }}
        • Profile picture of the author Neil Morgan
          Thanks Guys

          Thanks to Tim's suggestion I'm now leaning towards a server-based solution so that it can be used cross-platform (Windows, Mac and Linux).

          Jeff- thanks for the tip about Sam - I'll get onto him to find out what he does.

          It does sound like there could be an opportunity to develop a solution - so many opportunities, so little time!

          Cheers,

          Neil
          Signature

          Easy email marketing automation without moving your lists.

          {{ DiscussionBoard.errors[411945].message }}
          • Profile picture of the author n7 Studios
            Originally Posted by Neil Morgan View Post

            Thanks Guys

            Thanks to Tim's suggestion I'm now leaning towards a server-based solution so that it can be used cross-platform (Windows, Mac and Linux).

            Jeff- thanks for the tip about Sam - I'll get onto him to find out what he does.

            It does sound like there could be an opportunity to develop a solution - so many opportunities, so little time!

            Cheers,

            Neil
            Glad to hear my suggestion helped

            One thing to note for even better compatibility: when you're connecting to an FTP host, some use an active connection, and others use a passive one. There are ways and means to determine which a host will support, and your PHP FTP functions have options for choosing either connection method (I mention this from experience, when connecting to a server that only supports a passive connection when using an active one can result in really weird PHP errors that make no sense at all).
            {{ DiscussionBoard.errors[412469].message }}
  • Profile picture of the author Neil Morgan
    Thanks for the tip about active/passive connections. I'll make sure I keep it in mind.

    Cheers,

    Neil
    Signature

    Easy email marketing automation without moving your lists.

    {{ DiscussionBoard.errors[412853].message }}
  • Profile picture of the author Darren Mothersele
    Great thread! I've played around with server based FTP and it's a lot of fun. Obviously you have to be very careful with security so make sure you're validating any user input carefully and filter for XSS and SQL injection.

    If you've not seen it already, the documentation for PHP FTP functions could be useful:

    PHP: FTP - Manual
    {{ DiscussionBoard.errors[413009].message }}
  • Profile picture of the author Mike Fuqua
    Personally, if I needed something like this (and it's a good idea) I would use something like Auto Media Studio to create my simple desktop application that ties into my website's database. Then I would allow users to login from the desktop app, that queries the database, and if they have access, it then allows them to login, and set some settings for their ftp, and it would then execute (on the server side) some php scripts to make a connection via server ftp and install the scripting.

    You could even take that further as long as the person had proper permissions on their database, to allow outside access, to do the installs of of the sql.

    But I guess with enough 'trickery' of the php and installations, you could literally do an install via your own site on another person's site.

    Example:

    User registers on your site
    Downloads the app
    logins in via the app
    sets the settings for their site
    hits submit
    your server then executes a set of scripts
    that ftp's to their site
    installs the necessary files
    and uses the cURL method to call the 'install' script
    that that install script has all the sql commands
    in the php to do the install on their server as a localhost!


    {{ DiscussionBoard.errors[434063].message }}
  • Profile picture of the author severt
    Guys, the answer is very simple!
    PHP Encoder, protection, installer and performance tools from ionCube: ionCube Package Foundry does exactly what you guys want.

    Cheers!

    Dennis
    Signature
    Never overlook the chase for the almighty dollar.
    {{ DiscussionBoard.errors[437923].message }}
  • Profile picture of the author stevenh512
    severt has it right.

    IonCube has an EXE script installer that does exactly what you're thinking of. I'm not sure on the price, but if you have a script you're selling and you want a good quality installer it might be worth paying for. IonCube also has a PHP Encoder to optimze and encrypt your PHP files (makes them load a little faster through the IonCube loader, and protects your source code) and I think they even have a module to handle licensing through their loader.
    Signature

    This signature intentionally left blank.

    {{ DiscussionBoard.errors[597776].message }}
  • Profile picture of the author intromaster
    It's called ionCube Package Foundry... it's $197 and is very good. I am now in the process of testing it for one of my scripts.

    Makes it a breeze for customers to install your php scripts. They just need to know their ftp details.
    Signature
    PLR99 Announcement Club. Private label rights special offers EXCLUSIVELY to PLR99 club members only. My Own Material. You wont see anywhere else. FREE to join www.plr99.com


    {{ DiscussionBoard.errors[1317163].message }}

Trending Topics