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

PHP SUBMIT
Code: <input name="doLogin" type="image" src="images/loginsubmit.jpg

Edit MySQL Row Using PHP and HTML Form
Hello,

Here's what I'm trying to do. Build a page where a user enters a MySQL row number in.

fopen() security
As i understood the usage of fopen() for it to function correctly the Dir you write to has to be rw

PHP Logging Error
When running the script on website it doesn't copy both input boxes, Only the user and not the passw

ctype() validation - allowing illegal characters
Hello,
I use ctype() to filter and validate a user form. However, I am trying to allow certain c

noob cURL help
I have a pretty basic form that I need to cURL post to a file in my includes folder (includes/login.

mysql UPDATE request not working and driving me crazy!!!
Hi,

I have been stuck on this for ages.

Quite simply I am trying to update my database

Code doesn't print what i wanted it too. Please help!
Hi there,

I wrote this code to mae it so that in the form before it that the user said their

updating a single value to multiple non consecutive rows
I need to update the same value to multiple non consecutive rows. I need to add an experation date t

Undefined Variable: PHP_SELF, pls help
Hi,

Im a newbie on PHP / MySQL programming and Im running a script to search one field on my

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