Im trying to create a form which will fill in the variables in the config.inc.php, but I can't get it complete, the form fields are meant to replace the "text goes here", heres the code below:
Heres my form.php:
<?php include("config.inc.php"); ?>
<form>
Website Url: (this edits $site_title)<BR>
<input type="text" name="url" size="25"><BR><BR>
Website Title: (this edits $siteurl)<BR>
<input type="text" name="title" size="25"><BR><BR>
Email: (this edits $email)<BR>
<input type="text" name="email" size="25">
<BR>
<BR>
<input type="submit" value="Submit">
Heres my config.inc.php:
//Basedir
$siteurl = "text goes here";
//Website Name
$site_title = "text goes here";
//Your Email
$email = "text goes here";
Can anyone please help?