Forums

PHP

This topic is locked

PHP Registration page

Posted 17 Nov 2006 17:58:57
1
has voted
17 Nov 2006 17:58:57 Stuart Ashdown posted:
Trying to create a php registration page linking to my hosted mySQL database in Dreamweaver 8

I can create the page ok, upload it and it's fine, but as soon as insert the username/password fields recordsets from db in the form and upload again, I get page cannot be found.

Anyone got any ideas?

Replies

Replied 20 Nov 2006 18:46:46
20 Nov 2006 18:46:46 Roddy Dairion replied:
Check where your page is being redirected to once the registration is completed.

Edited by - roders22 on 20 Nov 2006 18:47:17
Replied 21 Nov 2006 10:47:56
21 Nov 2006 10:47:56 Stuart Ashdown replied:
ok yep, that's sorted. For some reason now though, my Submit button isn't showing up
Replied 21 Nov 2006 11:19:18
21 Nov 2006 11:19:18 Stuart Ashdown replied:
grrrrrrr, got lots of stupid errors. I can add the insert record and point it to a success page and works. Add Submit button and it fails. Create the page with button and it works, add the record again and it fails.

Here is my code if it's any use. Starting to frustrate me now. All I'm after is a simple registration page to put on my site which enters their user details, then another page so they can email some configuration settings to themselves.

<pre id=code><font face=courier size=2 id=code>&lt;?php virtual('/Connections/Simpilots.php'); ?&gt;
&lt;?php
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = ""
{
$theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;

switch ($theType) {
case "text":
$theValue = ($theValue != "" ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "" ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "" ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "" ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "" ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}

$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "reg") {
$insertSQL = sprintf("INSERT INTO user_profile (UserName, Password, Email) VALUES (%s, %s, %s)",
GetSQLValueString($_POST['username'], "text",
GetSQLValueString($_POST['password'], "text",
GetSQLValueString($_POST['email'], "text");

mysql_select_db($database_Simpilots, $Simpilots);
$Result1 = mysql_query($insertSQL, $Simpilots) or die(mysql_error());

$insertGoTo = "/regsuccess.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $insertGoTo));
}
?&gt;&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;form action="&lt;?php echo $editFormAction; ?&gt;" id="reg" name="reg" method="POST"&gt;
&lt;p&gt;username
&lt;input name="username" type="text" id="username" /&gt;
&lt;br /&gt;
password
&lt;input name="password" type="text" id="password" /&gt;
&lt;br /&gt;
email
&lt;input name="email" type="text" id="email" /&gt;
&lt;/p&gt;
&lt;p&gt;submit
&lt;input type="submit" name="Submit" value="Submit" /&gt;
&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;input type="hidden" name="MM_insert" value="reg"&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</font id=code></pre id=code>
Replied 21 Nov 2006 17:02:33
21 Nov 2006 17:02:33 Roddy Dairion replied:
Just give me a brief of what you do/did and what happen you do/did it?
Replied 21 Nov 2006 17:13:25
21 Nov 2006 17:13:25 Stuart Ashdown replied:
had my original page which I was using when I posted the original message. I realised that I forgot to put the success page in so did this and it worked. Realised then that I forgot to put on the submit button. As soon as I did this I had page not found again.
Replied 21 Nov 2006 17:19:05
21 Nov 2006 17:19:05 Roddy Dairion replied:
<pre id=code><font face=courier size=2 id=code>
&lt;?php virtual('/Connections/Simpilots.php'); ?&gt;
&lt;?php
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = ""
{
$theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;

switch ($theType) {
case "text":
$theValue = ($theValue != "" ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "" ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "" ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "" ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "" ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}

$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "reg") {
$insertSQL = sprintf("INSERT INTO user_profile (UserName, Password, Email) VALUES (%s, %s, %s)",
GetSQLValueString($_POST['username'], "text",
GetSQLValueString($_POST['password'], "text",
GetSQLValueString($_POST['email'], "text");

mysql_select_db($database_Simpilots, $Simpilots);
$Result1 = mysql_query($insertSQL, $Simpilots) or die(mysql_error());

$insertGoTo = "regsuccess.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $insertGoTo));
}
?&gt;&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;form action="&lt;?php echo $editFormAction; ?&gt;" id="reg" name="reg" method="POST"&gt;
&lt;p&gt;username
&lt;input name="username" type="text" id="username" /&gt;
&lt;br /&gt;
password
&lt;input name="password" type="text" id="password" /&gt;
&lt;br /&gt;
email
&lt;input name="email" type="text" id="email" /&gt;
&lt;/p&gt;
&lt;p&gt;submit
&lt;input type="submit" name="Submit" value="Submit" /&gt;
&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;input type="hidden" name="MM_insert" value="reg"&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</font id=code></pre id=code>
Just try this out.
Replied 21 Nov 2006 17:40:08
21 Nov 2006 17:40:08 Stuart Ashdown replied:
to start off with i copied and pasted it, it went into one block and i got a UNEXPECTED T_STRING on line 1

I broke it down a bit and then got page not found

<pre id=code><font face=courier size=2 id=code>&lt;?php virtual('/Connections/Simpilots.php'); ?&gt;
&lt;?php
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = ""
{
$theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;
switch ($theType) {
case "text":
$theValue = ($theValue != "" ? "'" . $theValue . "'" : "NULL";
break;
case "long":case "int":$theValue = ($theValue != "" ? intval($theValue) : "NULL";break;case "double":$theValue = ($theValue != "" ? "'" . doubleval($theValue) . "'" : "NULL";break;case "date":$theValue = ($theValue != "" ? "'" . $theValue . "'" : "NULL";break;case "defined":$theValue = ($theValue != "" ? $theDefinedValue : $theNotDefinedValue;break;}return $theValue;}$editFormAction = $_SERVER['PHP_SELF'];if (isset($_SERVER['QUERY_STRING'])) {$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);}if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "reg") {$insertSQL = sprintf("INSERT INTO user_profile (UserName, Password, Email) VALUES (%s, %s, %s)",GetSQLValueString($_POST['username'], "text",GetSQLValueString($_POST['password'], "text",GetSQLValueString($_POST['email'], "text");mysql_select_db($database_Simpilots, $Simpilots);$Result1 = mysql_query($insertSQL, $Simpilots) or die(mysql_error());$insertGoTo = "regsuccess.php";if (isset($_SERVER['QUERY_STRING'])) {$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";$insertGoTo .= $_SERVER['QUERY_STRING'];}header(sprintf("Location: %s", $insertGoTo));}?&gt;&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;&lt;html xmlns="www.w3.org/1999/xhtml"&gt;&lt;head&gt;&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;&lt;title&gt;Untitled Document&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;form action="&lt;?php echo $editFormAction; ?&gt;" id="reg" name="reg" method="POST"&gt;&lt;p&gt;username&lt;input name="username" type="text" id="username" /&gt;&lt;br /&gt;password&lt;input name="password" type="text" id="password" /&gt;&lt;br /&gt;email&lt;input name="email" type="text" id="email" /&gt;&lt;/p&gt;&lt;p&gt;submit&lt;input type="submit" name="Submit" value="Submit" /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;input type="hidden" name="MM_insert" value="reg"&gt;&lt;/form&gt;&lt;/body&gt;&lt;/html&gt; </font id=code></pre id=code>
Replied 21 Nov 2006 17:40:10
21 Nov 2006 17:40:10 Stuart Ashdown replied:
to start off with i copied and pasted it, it went into one block and i got a UNEXPECTED T_STRING on line 1

I broke it down a bit and then got page not found

<pre id=code><font face=courier size=2 id=code>&lt;?php virtual('/Connections/Simpilots.php'); ?&gt;
&lt;?php
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = ""
{
$theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;
switch ($theType) {
case "text":
$theValue = ($theValue != "" ? "'" . $theValue . "'" : "NULL";
break;
case "long":case "int":$theValue = ($theValue != "" ? intval($theValue) : "NULL";break;case "double":$theValue = ($theValue != "" ? "'" . doubleval($theValue) . "'" : "NULL";break;case "date":$theValue = ($theValue != "" ? "'" . $theValue . "'" : "NULL";break;case "defined":$theValue = ($theValue != "" ? $theDefinedValue : $theNotDefinedValue;break;}return $theValue;}$editFormAction = $_SERVER['PHP_SELF'];if (isset($_SERVER['QUERY_STRING'])) {$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);}if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "reg") {$insertSQL = sprintf("INSERT INTO user_profile (UserName, Password, Email) VALUES (%s, %s, %s)",GetSQLValueString($_POST['username'], "text",GetSQLValueString($_POST['password'], "text",GetSQLValueString($_POST['email'], "text");mysql_select_db($database_Simpilots, $Simpilots);$Result1 = mysql_query($insertSQL, $Simpilots) or die(mysql_error());$insertGoTo = "regsuccess.php";if (isset($_SERVER['QUERY_STRING'])) {$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";$insertGoTo .= $_SERVER['QUERY_STRING'];}header(sprintf("Location: %s", $insertGoTo));}?&gt;&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;&lt;html xmlns="www.w3.org/1999/xhtml"&gt;&lt;head&gt;&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;&lt;title&gt;Untitled Document&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;form action="&lt;?php echo $editFormAction; ?&gt;" id="reg" name="reg" method="POST"&gt;&lt;p&gt;username&lt;input name="username" type="text" id="username" /&gt;&lt;br /&gt;password&lt;input name="password" type="text" id="password" /&gt;&lt;br /&gt;email&lt;input name="email" type="text" id="email" /&gt;&lt;/p&gt;&lt;p&gt;submit&lt;input type="submit" name="Submit" value="Submit" /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;input type="hidden" name="MM_insert" value="reg"&gt;&lt;/form&gt;&lt;/body&gt;&lt;/html&gt; </font id=code></pre id=code>
Replied 21 Nov 2006 17:57:16
21 Nov 2006 17:57:16 Roddy Dairion replied:
Line 1 of which file?
<pre id=code><font face=courier size=2 id=code>
&lt;?php virtual('/Connections/Simpilots.php'); ?&gt;
&lt;?php
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = ""
{
$theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;

switch ($theType) {
case "text":
$theValue = ($theValue != "" ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "" ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "" ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "" ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "" ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}

$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "reg") {
$insertSQL = sprintf("INSERT INTO user_profile (UserName, Password, Email) VALUES (%s, %s, %s)",
GetSQLValueString($_POST['username'], "text",
GetSQLValueString($_POST['password'], "text",
GetSQLValueString($_POST['email'], "text");

mysql_select_db($database_Simpilots, $Simpilots);
$Result1 = mysql_query($insertSQL, $Simpilots) or die(mysql_error());

$insertGoTo = "regsuccess.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $insertGoTo));
}
?&gt;&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;form action="&lt;?php echo $editFormAction; ?&gt;" id="reg" name="reg" method="POST"&gt;
&lt;p&gt;username
&lt;input name="username" type="text" id="username" /&gt;
&lt;br /&gt;
password
&lt;input name="password" type="text" id="password" /&gt;
&lt;br /&gt;
email
&lt;input name="email" type="text" id="email" /&gt;
&lt;/p&gt;
&lt;p&gt;submit
&lt;input type="submit" name="Submit" value="Submit" /&gt;
&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;input type="hidden" name="MM_insert" value="reg"&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</font id=code></pre id=code>
Replied 21 Nov 2006 18:05:57
21 Nov 2006 18:05:57 Stuart Ashdown replied:
ok got this now and getting same page not found. Page is at www.simpilots.co.uk/test3.php

<pre id=code><font face=courier size=2 id=code>&lt;?php virtual('/Connections/Simpilots.php'); ?&gt;
&lt;?php
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = ""
{
$theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;
switch ($theType) {
case "text":
$theValue = ($theValue != "" ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "" ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "" ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "" ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "" ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities ($_SERVER['QUERY_STRING']);
}
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "reg")
{
$insertSQL = sprintf("INSERT INTO user_profile (UserName, Password, Email) VALUES (%s, %s, %s)",
GetSQLValueString($_POST['username'], "text",
GetSQLValueString($_POST['password'], "text",
GetSQLValueString($_POST['email'], "text");
mysql_select_db($database_Simpilots, $Simpilots);
$Result1 = mysql_query($insertSQL, $Simpilots) or die(mysql_error())
;$insertGoTo = "regsuccess.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $insertGoTo));
}
?&gt;&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form action="&lt;?php echo $editFormAction; ?&gt;" id="reg" name="reg" method="POST"&gt;
&lt;p&gt;username
&lt;input name="username" type="text" id="username" /&gt;
&lt;br /&gt;
password
&lt;input name="password" type="text" id="password" /&gt;
&lt;br /&gt;
email
&lt;input name="email" type="text" id="email" /&gt;
&lt;/p&gt;
&lt;p&gt;submit
&lt;input type="submit" name="Submit" value="Submit" /&gt;
&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;input type="hidden" name="MM_insert" value="reg"&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt; </font id=code></pre id=code>
Replied 21 Nov 2006 18:11:38
21 Nov 2006 18:11:38 Roddy Dairion replied:
i see..
<pre id=code><font face=courier size=2 id=code>
&lt;?php virtual('/Connections/Simpilots.php'); ?&gt;
&lt;?php
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = ""
{
$theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;
switch ($theType) {
case "text":
$theValue = ($theValue != "" ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "" ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "" ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "" ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "" ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities ($_SERVER['QUERY_STRING']);
}
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "reg")
{
$insertSQL = sprintf("INSERT INTO user_profile (UserName, Password, Email) VALUES (%s, %s, %s)",
GetSQLValueString($_POST['username'], "text",
GetSQLValueString($_POST['password'], "text",
GetSQLValueString($_POST['email'], "text");
mysql_select_db($database_Simpilots, $Simpilots);
$Result1 = mysql_query($insertSQL, $Simpilots) or die(mysql_error());
$insertGoTo = "regsuccess.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $insertGoTo));
}
?&gt;&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form action="&lt;?php echo $editFormAction; ?&gt;" id="reg" name="reg" method="POST"&gt;
&lt;p&gt;username
&lt;input name="username" type="text" id="username" /&gt;
&lt;br /&gt;
password
&lt;input name="password" type="text" id="password" /&gt;
&lt;br /&gt;
email
&lt;input name="email" type="text" id="email" /&gt;
&lt;/p&gt;
&lt;p&gt;submit
&lt;input type="submit" name="Submit" value="Submit" /&gt;
&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;input type="hidden" name="MM_insert" value="reg"&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</font id=code></pre id=code>
For some reason there was 2 line mixed 2geva.

Reply to this topic