Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Creating A PHP File To Automate Database
Houdini
post May 30 2005, 02:21 PM
Post #1


Super Member
Group Icon

Group: Members
Posts: 572
Joined: 25-April 05
From: Nashville Tennessee
Member No.: 4,340



I want to come up with a script that sllows install of an entire existing database for my users.

I use PHP Nuke and my database is MySQL

Although I have an SQL file that may be run in phpMyAdmin I want to automate the process so that users can simply point their browser to a PHP file that will automatically install the database name structure and all tables.

Can an SQL guru help in this matter?
Go to the top of the page
 
+Quote Post
Trekkie101
post May 30 2005, 05:23 PM
Post #2


Teh Teckeh Trekkeh
Group Icon

Group: Members
Posts: 682
Joined: 8-September 04
From: Scotland, UK
Member No.: 389



Its a php thing, rather easy actually http://uk2.php.net/manual/en/ref.mysql.php that shows a tutorial and from within the php script you can run any MySQL queire you want.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. How To Save A Image In Pdf File And Download It?(10)
  2. Creating A Game In Rpg Maker 2000/2003(18)
  3. 3ds Max Tutorial #2-creating Reflective Materials(1)
  4. Recover Tables From A MySQL .frm File(8)
  5. Mirror My MySQL Database To Another Mysql Server(4)
  6. Need Help With A PHP - MySQL Registration Script(13)
  7. Uploading Image File Through JSP Code To Server(9)
  8. How To Use Psd File(14)
  9. Creating Irc Chat Room...(9)
  10. MySQL Output Database Question(18)
  11. Creating Executable Jar Files(9)
  12. Creating New Process Under Alternate Credentials (createprocessasuser)(6)
  13. Deleting A Corrupt File(25)
  14. Need Help Urgently (missing Or Corrupt Hal.dll File).(6)
  15. Creating Flash Image/slideshow(2)
  1. Best Software For Creating Games(9)
  2. Is A Php File Searchable?(8)
  3. Safari And Hosts File(8)
  4. How To Copy File & Folders From Linux To Windows?.(12)
  5. Need To Edit A Wav File [solved](1)
  6. Accessing Ms Access Database From A Centralized Location?(5)
  7. Mysql And User File_priv(0)
  8. Mysql Database Management(1)
  9. Mysql Database Entry By Excel Sheets(2)
  10. Creating A Php Login Script(3)
  11. Space Needed For Database(10)
  12. Database Access On Remote Server W/jsp(0)
  13. Some Useful Database Links.(7)


 



- Lo-Fi Version Time is now: 30th August 2008 - 05:39 PM