Install page


Posted on 16th Feb 2014 07:03 pm by admin

How do I make it so when a user submits information on the Install page, it'll right it into the correct file. I can do the forms and $_POST, but I need it so that it actually works.

Current stuff in my config.php file:

Did you know?Explore Trending and Topic pages for more stories like this.

<?php

$disabled = "0"; //Disable all posting and logging in? 1 for yes, 0 for no

//Database information for your database
$dbhost = ""; //Database hostname
$dbuser = ""; //Database username
$dbpassword = ""; //Database password
$db = ""; //The database your selecting


//The name of your site
$sitetitle = "CommentBB";

//Your site link (MAKE SURE NO /'s are include!) Example: chataddict.netau.net (THATS ALL YOU NEED, NO HTTP OR trailing slash )
$link = "chataddict.netau.net";

//Site owner (So the site owner has a crown next to his/hers name when they comment/post)
$owner = "Master";

//ACP password
$apass = "";

//Mod CP password
$mpass = "";

//Admin crowns
$acrown = "crown_gold.gif";

//Moderator crowns
$mcrown = "mod_silver.gif";

?>
No comments posted yet

Your Answer:

Login to answer
165 Like 15 Dislike
Previous forums Next forums
Other forums

php + mysql count consecutive data
I have a database of values and I want to work out how to display them if the values match a consecu

array_combine() trouble w/csv file
I have a problem with a piece of code I wrote to import some records from a csv file into mysql. I h

parse error
Parse error: syntax error, unexpected '[', expecting ')' in /Users/admin/Sites/phptest/array.php on

Custom array sort? asc then desc
Any ideas how I could sort this array? I've been trying for a while. Maybe with usort, but I have no

post to self
Trying to get my form to submit to itself. However I am also trying to use an image for my submit bu

New to Arrays
Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understan

How to form a xml form table with a single sql statement..?
Hi everyone,
I don't know if this is going to be a duplicate thread but i couldn't

Multiple if statements
Ok so seems basic but for some reason I'm not doing it right. What I want is to be able to have 2 se

PHP Code / Script To check weather the given email exists in a domain
Hi,

I want to implement the following in my web page

in sign up we will ask to enter u

Multiple while loops
I have several DB queries that I know should be returning results and aren't. I have a feeling it ha

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash