you still need to change that line to
- Code: Select all
$form ="<div id=\"reg\"><form name=\"form1\" method=\"post\" action=\"".$_SERVER['PHP_SELF']."\">";
it may be that the two different servers are running two different versions of
PHP, and it's likely that the
php.ini files are configured differently.