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

Notice Undefined index: reset/ Attempting to redirect, works, but get a notice
Full Header.php is:
Code: [Select]<?php
$reset= false;
$reset= strip_tags($_GET[&quo

urldecode question
How would I format this line of code properly?

<?php echo urldecode($_GET['Title']); ?

Email with Attachments in PHP
Hi Friends

How to send email in PHP with attachment.
I know simple mail can be sent with

preg_match logical error
Code: <?php
$s = file_get_contents("page.html");
preg_match('/<div cla

Uploading Filetypes and placing them in seperate folders.
Hello,

first post , and asking for help im afraid. Very new to PHP, was making good progress

How to separate records and ORDER BY
Let say i have 100 records and displayed in one page, then i want to get the records from 50-100 and

Help with lottery style system?
I'm working on a currency system for forums and it is going to have a type of lottery system built i

Blank record injected into database
I always found several blank records inside my database, although $SESSION is required to insert the

Line break?
Hi, I'm new to the forum and new to php. I'm not sure if I'm using the correct terminology so here i

check if value exists
I have googled this for a while and I am getting lots of different results. Is there a standard meth

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