Go Back   Christian Guitar Forum > Community > Academic > Computers
Register FAQ Members List Calendar Arcade Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 05-18-2007, 09:55 PM   #1
Be happy
 
bobthecockroach's Avatar
 

Joined: Apr 2001
Location: Louisiana
Posts: 19,716
PHP software installation

How does it work? Suppose I want to write a PHP program and distribute it. The program needs to create 4 mySQL tables and an owner account on the users table to be set up. How would I do this? I have a PHP script that does it, but that doesn't seem like the right way to do it.

__________________
Some things are meant together, some things are better apart
Some things are easy, when other times they are hard
But that doesn’t mean what’s hard isn’t what’s meant to be
- Al Lewis
bobthecockroach is offline   Reply With Quote
Sponsored Links
Old 05-19-2007, 06:28 PM   #2
Registered User
 
3e3c3e's Avatar
 

Joined: May 2001
Location: PA
Posts: 2,054
Most of the PHP applications or packages I have installed always had an Install.php that assumed it had rights to create all the DBs, Tables, Users, etc.

Most of them either deleted the Install.php after it was complete or clearly stated in their installation steps to remove certain files after it was completed.


~3e3c3e
__________________
| Journal | 3e3c3e.com |

3e3c3e is offline   Reply With Quote
Old 05-19-2007, 10:13 PM   #3
Be happy
 
bobthecockroach's Avatar
 

Joined: Apr 2001
Location: Louisiana
Posts: 19,716
Oh, ok. Fabulous. I can handle that.
__________________
Some things are meant together, some things are better apart
Some things are easy, when other times they are hard
But that doesn’t mean what’s hard isn’t what’s meant to be
- Al Lewis
bobthecockroach is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 02:58 PM.