View Full Version : PHP/sql standalone solution

08-07-2007, 08:44 PM
hi guys, this is my first post and definately wont be the last.

quick question:
I was asked to write a database solution for a friend.. it was supposed to do the normal add/retrieve/modify/search functions of a databse. i started with vb6 then decided to use php/sql.

I might sound really dumb and ignorant but the question is... if i want to "package" this to him... how can i do this without having to personally go and install a webserver and php and sql and the rest so he can use it just through his web browser? can i use an installer that will allow it to be packaged so after the install he would just have to open the databsae through his browser?

any help would be much appreciated. thanx

08-07-2007, 09:20 PM
The PHP script files are of course the easy part-- just zip em up with instructions to unzip and ftp to the web server. The database schema is slightly more difficult and there are probably "professional" solutions for distribution and installation, but you can probably get by with using myphpadmin's export features to capture all of the "create database" and "create table" statements in one file that can be executed with one MySQL statement (or use myphpadmin on the other end as well).

This answer is probably not the best answer-- hopefully others will mention the "real" solutions ;)

08-08-2007, 03:48 PM
thanx for the reply fumigator.. the thing is...he doesnt hv internet connection...i got the php and sql script done already, it works perfectly.. i jus want to avoid him havin to install webserver and php and the likes..... is ther a way to install everythin on a CD/DVD so he can jus run it off there without hvin to install?

08-08-2007, 04:51 PM
If he installs PHP/MySQL on his own machine, and then configures it all correctly, then yeah it could maybe work. What a royal headache though-- I'd go back to VB6, or even better, Delphi. The PHP/MySQL solution seems like overkill for a local desktop application.

08-08-2007, 05:24 PM
How about Firepages' solution for installing AMP on a USB drive?


08-08-2007, 07:06 PM
You should try php-gtk to do desktop apps in php


But php is for web development. If you want a stand-alone app, its better to use vb or delphi.

08-08-2007, 07:30 PM
Thanks I tried the GTK link a week ago and the site was down all day. I've been meaning to go back

08-08-2007, 08:13 PM
thanx again guys... stupidralph: the link was quite useful... i think im gonna rather go the vb route...

GTK? sounds very interestin.. i need sometin like dat

08-09-2007, 01:23 AM
guys im sorted... finishd it in vb.. worx like a charm.. then i stumbled across priadoblender http://pb.impressivegames.com/download/download.php
and also bambalam http://www.bambalam.se/bamcompile/

they sound really cool.. gonna go try it now.. apparently they convert php files to standalone windows exe with no need for php dlls and stuff..