SitePoint Sponsor

User Tag List

Results 1 to 10 of 10

Thread: PHP Offlne App

  1. #1
    Umm. PHP Guru....Naaaah jaswinder_rana's Avatar
    Join Date
    Jul 2004
    Location
    canada
    Posts
    3,193
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP Offlne App

    Hi,

    I am working on an idea which will be available offline. But sometimes, users might want to use it offline. Is there an easy way to do this?

    I was looking at Uniform MIni server as an option but was hoping there is an easy way to do this for running PHP and MySQL.

    PS: For security concerns, I plan to use ioncube and if I end up using Miniserver then will create a downloadable file with those extra files (of course have to check Terms of miniserver to see if I can do that or do I need to provide separate instructions for users to download that and then add those files).

    Yes, Java or something like that is a possibility but for now I am really really hoping that its possible this way. If not then Java (for desktop) is our next approach for offline app.

    Can someone please help?

    Thanks
    ---------------------------
    Errors = Improved Programming.
    My Site

  2. #2
    Non-Member Wisestepp's Avatar
    Join Date
    Aug 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Jaswinder_rana yes i am already using offline only by installing wamp server in the laptop for that no need of online server ..

  3. #3
    Umm. PHP Guru....Naaaah jaswinder_rana's Avatar
    Join Date
    Jul 2004
    Location
    canada
    Posts
    3,193
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks. I have used WAMP and that's what I use for development. But I was hoping for a simple tool which I can distribute with my app and users can simply run that and it will work. With WAMP, there is too much configuration.

    If nothing else then WAMP will be last alternative but I am really hoping there is something already out there. I don't think I am the first person to have this issue.

    Thanks
    ---------------------------
    Errors = Improved Programming.
    My Site

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,118
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Browsers are starting to implement offline storage options, but this may not help for what you want to do. It might be worth considering an app built on HTML/CSS/JS instead. I've not heard of anything that can let users download something built in PHP and use it locally.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  5. #5
    From space with love silver trophy
    SpacePhoenix's Avatar
    Join Date
    May 2007
    Location
    Poole, UK
    Posts
    5,000
    Mentioned
    101 Post(s)
    Tagged
    0 Thread(s)
    http://www.usbwebserver.net/en/

    Found that, I'ver never used it myself, but I would assume that once you've got the website set up on it you could then send copies out to whoever needs to see a demo of your site
    Community Team Advisor
    Forum Guidelines: Posting FAQ Signatures FAQ Self Promotion FAQ
    Help the Mods: What's Fluff? Report Fluff/Spam to a Moderator

  6. #6
    Umm. PHP Guru....Naaaah jaswinder_rana's Avatar
    Join Date
    Jul 2004
    Location
    canada
    Posts
    3,193
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, HTML/JS while a good option, won't work in our case.

    USB Webserver will work nicely although if any issue comes up then they will need to fix it themselves or ask us (which is fine but still a step involved).

    But anyways, thanks for the help. I will checkout that USB server.
    ---------------------------
    Errors = Improved Programming.
    My Site

  7. #7
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,071
    Mentioned
    152 Post(s)
    Tagged
    0 Thread(s)
    You could also potentially look at XAMPP and re-packaging it with your site pre-installed.
    Be sure to congratulate Patche on earning July's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes

  8. #8
    Umm. PHP Guru....Naaaah jaswinder_rana's Avatar
    Join Date
    Jul 2004
    Location
    canada
    Posts
    3,193
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    One question,

    If I were to pre-configure that distribution (.conf and .ini files) and install modules (ionCube etc), will that be considered a license violation? Or is that permitted? I am not good at reading legal stuff so can't figure this out.

    Thanks
    ---------------------------
    Errors = Improved Programming.
    My Site

  9. #9
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,071
    Mentioned
    152 Post(s)
    Tagged
    0 Thread(s)
    It is under the GPL, you are more than allowed to re-configure and redistribute it, the only thing you have to agree to do is provide the original license and source code to the end user (should they want it).

    Your configurations can be under a different license and the source code to your configurations do not have to be distrubted (granted, that is moot since you need to distribute those to make it run )
    Be sure to congratulate Patche on earning July's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes

  10. #10
    Umm. PHP Guru....Naaaah jaswinder_rana's Avatar
    Join Date
    Jul 2004
    Location
    canada
    Posts
    3,193
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great. Thanks!

    I only plan to change .conf, .ini files and few modules to Apache and PHP (As needed) along with my (ionCube encrypted) source code. Still have to test run it to make sure it all works. Maybe I'll create a stripped down offline version for this.

    Thanks
    ---------------------------
    Errors = Improved Programming.
    My Site


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •