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. Creating A Game In Rpg Maker 2000/2003(18)
  2. Counter With Img In Flat File(2)
  3. Recover Tables From A MySQL .frm File(8)
  4. How To: Connect, Read, Write, Close A Database(4)
  5. Restore Windows File And Folder Protection(5)
  6. What Is Mkv? Need Help With This File Format?(7)
  7. Rapidshare(1)
  8. Uploading Image File Through JSP Code To Server(9)
  9. Super File Recover(3)
  10. You Cannot Create A File Named Con(9)
  11. MySQL Output Database Question(18)
  12. Creating Executable Jar Files(9)
  13. How To Create Exe File In Java?(13)
  14. How Do You Use The cPanel File Manager?(14)
  15. Deleting A Corrupt File(26)
  1. Best Software For Creating Games(9)
  2. Is A Php File Searchable?(8)
  3. How To Copy File & Folders From Linux To Windows?.(12)
  4. Accessing Ms Access Database From A Centralized Location?(5)
  5. Mysql Database Entry By Excel Sheets(2)
  6. Space Needed For Database(10)
  7. Database Access On Remote Server W/jsp(0)
  8. Some Useful Database Links.(7)
  9. Database(7)
  10. Best Database(7)
  11. Css File Size(7)
  12. How To Understand A Database Schema(4)
  13. Creating An Mmo(1)


 



- Lo-Fi Version Time is now: 14th October 2008 - 01:23 PM