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";
?>
Is it possible to view php source code??
Hi AllI was just wondering if it's possible to view a websites php source code? I know that php is a server side scripting language and that it is processed at the server and the results are sent
Empty text file when there is over XXXX lines of text.
define("RANDOM_FILE","/public_html/random.txt"); $randomEntry = "This goes in text file.\n"; { $randomFile = fopen(RANDOM_FILE,"a"); }
md5 is it unique
I know this is most likely one of many simple questions that can be found semi easily. But I'm pressed for time. I have searched google, php.net, etc. But it only tells me how to make md5 hashes. Ok
Get dump of MySQL DB from Live Site
I'm after an easy, but secure way of generating and importing a MySQL dump from a remote server. The way I want to achieve this is as follows: 1) I will have a page on my localhost server with a form
listing help
Hi,at first, great new design!!! I like it,i got a problem,I want to list some tekst, but there is a users, users can list they own texts, and all teksts, and find words in all texts and in own
login page does not execute a else statement
I've created a login page using sessions.When an incorrect user name or password is entered then a custom messege error message apears.But if a correct user name and password is used then notthing
Reditecting pages based on logic
Newbie here, apologies in advance!I am trying to use the header function to forward one of any number of locations (taken from a db) based on the value of a response param:Quote<?php include
PHP/Database issue
My friend is helping me make a database where you go to a certain webpage of my site and the page will use code to pull information from a database and display it on the page in a formatted way.Code:
Help with echo()
I'm having some problems with this code:Code: echo ' <A
Loops and Classes
I am making a template system and everything seems to be going well up until I have to loop in a variable where things starts to go weird. I need ideas on how to solve this.It is not picking up