Jump to content


Photo

Access MySQL-PHP application from CD


  • Please log in to reply
13 replies to this topic

#1 b_kitty

b_kitty
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 29 September 2006 - 08:10 AM

i hope this will be the right place to ask---I have just finished working with a mysql-php application working properly on an Appache web server. Now, i have been required to export my application to CD's and give anyone the possibility to acces the application from the CD. The solution i got from other people was to convert everything in Access-VB but this is not what i want. Is there anny way i can avoid this solution..maybe build some configuration files etc?! I would really appreciate some help because i am feeling lost!!! ::)
PLZZZZZZ.HELP me!!!!

#2 Jenk

Jenk
  • Members
  • PipPipPip
  • Advanced Member
  • 778 posts

Posted 29 September 2006 - 09:38 AM

You sure they don't just mean zip all the source files and burn to disc?

#3 b_kitty

b_kitty
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 29 September 2006 - 10:16 AM

yes..i am!

#4 Jenk

Jenk
  • Members
  • PipPipPip
  • Advanced Member
  • 778 posts

Posted 29 September 2006 - 11:21 AM

Without a webserver configured (or one of the hacked runtimes) and installed you won't be able to make it portable I'm afraid. MS Access sounds like your easiest option.

#5 b_kitty

b_kitty
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 29 September 2006 - 12:36 PM

I spent some time on the web and i found some SW that made it possible but i'll need to buy the licenses.  one of them was http://www.indigostar.com/microweb.htm
anyway..money are not on my side..i was wondering if i could manage it for free ;D
Anyway..Thnx. for the answers!

#6 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 29 September 2006 - 01:32 PM

Check this topic out:
http://www.phpfreaks...c,109411.0.html

#7 b_kitty

b_kitty
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 02 October 2006 - 06:55 AM

THNX Daniel! I found a very nice link in that thread! The only problem is that the example was for a USB in LINUX and I need it for a CD on Windows but i'll try to adapt it for my needs! (if it was ready it would have been better ;D)

#8 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 02 October 2006 - 03:27 PM

You can always make your code portable.  You would want to pull it out and test it in a few servers.  You needed to create a txt file with a database dump, so people can create the database they need to go along with it

You also could probably stand creating a portable php.ini file with the settings that are required set.  You could put a note at the top which ones are required, and when they come to them in the php.ini file, just set comments beside them saying required too.
This will solved a lot of the issues with compatibility, and making it more portable, and the database dump, allows them to have the database information to create a database.

As far as cross server issues, if you test it in 5-6 windows, and linux systems, and any time you run into problems, build in some fixes that work for that system, when the whole thing works on 10-15 servers, then you should be fine.  Then just put a txt file with the required php version, and mysql version, along with documentation on how to install it into the server, or web host server
then zip everything up, and your ready to go.

It is obvious however, with any portable program, they are going to have some sort of web server, with the required version of php, with mysql installed on the server of the required version, but this goes without saying.  It would work on most web hosts too, if they accepted php.ini, and sometimes your program might require htaccess to run right, you have to figure out a windows alternative on anything in htaccess, to make it compatible with windows as well.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#9 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 02 October 2006 - 05:28 PM

BM, I think you missed the point of what b_kitty was asking. its not about being portable in respect of putting on different servers, but being portable in terms of being able to run directly off the CD. the link Daniel0 provided to another thread has all the info necessary for b_kitty to do what he was asking

Cheers
Mark
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#10 b_kitty

b_kitty
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 03 October 2006 - 06:30 AM

MArk..I am a "she" not a "he"  ;D..anyway..you are right! thnx for the answers to all of you! I am working on the material Daniel0  sent to me and i will  let you know :)

#11 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 03 October 2006 - 08:53 AM

oops sorry  :-[ thats what I get for assuming  ;D
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#12 brussell

brussell
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 06 December 2006 - 08:41 PM

Have you considered something like 'server2go' or 'XAMPP' which is a webserver which can run from cd, or usb. They generally include PHP, MySql, PHPMyAdmin, Apache. A simple plug and play. You can then store your database locally on the CD and people can use it as they see fit....dont know if this may help.

#13 utexas_pjm

utexas_pjm
  • Members
  • PipPipPip
  • Advanced Member
  • 453 posts

Posted 12 December 2006 - 06:22 PM

n/m...

#14 mramardeepsingh

mramardeepsingh
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 04 March 2007 - 06:21 PM

use Server2go. its meant for deploying portable php applications and scripts.

i am myself using it for deploying my scripts on cd with the help of Server2Go.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users