Jump to content

PHP Installer


orangeparrot

Recommended Posts

Hi Guys,

 

I was wondering would somebody be able to help me?

I want to make an installer where people can put in the mysql details,

and it will also add some tables to the database.

The config file is called data.php

 

<?php

$hostname_conn_abrv = "localhost";   ////database hostname, usually always localhost
$database_conn_abrv = "database"; ////database name
$username_conn_abrv = "username"; /// database username
$password_conn_abrv = "password"; //// database 
$conn_abrv = mysql_pconnect($hostname_conn_abrv, $username_conn_abrv, $password_conn_abrv) or trigger_error(mysql_error(),E_USER_ERROR); 

?>

 

Any help would be great! Thanks alot.

Link to comment
https://forums.phpfreaks.com/topic/115457-php-installer/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.