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:


<?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

Compare user input to flat file data
Help...Am a complete newbie to programming so my code is prolly quite long. Am trying to verify a us

Socket Server Response Headers
Earlier I had a post about my Socket Server, I wasn't able to get it to connect, now I can

I

How do I know when getBounds Method is ready to be called.
I have an application that changes out stylesheets client side. Once I change stylesheet the browse

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

Object Interfaces
EDIT: Never mind, I just updated to php 5.

Hey all,

I'm currently experimenting with p

Comparing two dates
Hi Guys
I have two dates I want to compare. Below is my current implementation. The problem with

Filename and Line Number Custom Error
I have a class, with a method that accepts 2 parameters. I would like to output error messages.

Code error with Index.php
Error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/runevid/public_

using variables in another page
I have a test database set up on localhost. I have a form that I can type a name into, hit the butto

Problem with DB connection
Hello there! I'm new to this forum and I'm new to PHP coding also. I wrote something that doesn't ma

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