Click to See Complete Forum and Search --> : portable project -> PHP + MySQL (FlashMemory?)


purefan
11-13-2005, 09:20 AM
hello.
I've developed an accounting system using PHP and MySQL. Obviously it works fine when called locally in my computer (not intended for internet yet) but I'd like to make it portable, to store it (in a flash memory perhaps) and be able to carry it on anywhere I want.
But Im not sure if it would work...When I was installing XAMPP at first I couldnt install the Apache server for a port being used by IIS (solved it) so if someone is using the accounting thing from the flash memory it could have issues due to the ports right?
The thing is the more I think about it the more Im convinced that someone must already been there and figured out a way of doing this...so if anyone has a clue please tell me.

thanks!

purefan
11-14-2005, 05:09 PM
nobody has a clue??
this gotta be a first! :)

NogDog
11-14-2005, 05:49 PM
I think the whole webserver aspect is going to be a problem if you want "plug and play" capability. I would think it would be a lot easier to host it on the 'net (with some good layered security), then just be able to access it from any PC with a web connection.

If you really need a stand-alone application that is very portable, I'd probably look into writing it in Java and perhaps using XML for the data.

NogDog
11-14-2005, 07:10 PM
If you want to implement it with PHP, maybe it would be better to set up PHP either in command line interface (http://us3.php.net/manual/en/features.commandline.php) mode or as a desktop GUI application using the PHP-GTK extension (http://gtk.php.net/).

purefan
11-14-2005, 09:50 PM
thanks NogDog!
I think i'll write it in Java then, the issue with having it in internet is that:
1: Most people will consider it somehow unsecure and perhaps they are right in a way
2: With my hosting plan I dont have access to vreating unlimited number of databases and due to the structure of the project a database per company will be necessary.
3: I find so much easier working with databases from PHP than in java :)

But I can always get a good tutorial to walk me through the process. I wanted to make sure nobody had solved it this way before I get into something more complicated.

Again thanks!