I'm having somewhat the same problem, but my naming is similar. I get the message:
Notice: Undefined index: submit in /home/arioch/public_html/setup.php on line 85
The relevant chunk:
<?php
ini_set('display_errors', true);
//error_reporting(E_ALL ^ E_NOTICE);
function form(){
?>
<form id="dblink_params" name="dblink_params" method="post" action="<?php echo $PHP_SELF;?>">
<fieldset class="formfield">
<legend class="hlook1">1). YOUR DATABASE CONNECTION PARAMETERS:</legend>
<label>Database name:</label><input type="text" size="20" name="dbname" /><br />
<label>Database hostname:</label><input type="text" size="20" name="dbhost" /><br />
<label>Database username:</label><input type="text" size="20" name="dbusername" /><br />
<label>Database password:</label><input type="password" size="20" name="dbpassword" />
</fieldset>
<input type="submit" value="submit" name="submit">
</form>
<?php
}
//registering the condition of the submit button. If set(clicked) proceed with script. if not(false) die and display form.
$button = ($_POST['submit']);
if (!isset($button)) die (form());
UPDATE: Now, I'm also getting this message: The requested URL not found? I'm using PHP_SELF...
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
What is going on? I'm running my own machine by the way, no webhotel.
- UPDATE: The "ini_set('display_errors', true);" is responsible for all of it.