Page 1 of 1

php script not work

Posted: Sun Feb 14, 2010 2:16 am
by neomotive
my scripts work in my pc local webserver but not work in real webhost
-----------------------
example:
-------
<?
echo '<form method="post" action="';echo $_SERVER['PHP_SELF'];echo '">
<table border="0" width="300" cellspacing="0" cellpadding="0">
<tr>
<td height="30"><p align="center">Your E-mail:</p></td>
<td height="30"><p align="center"><input type="Text" name="email"></p></td>
</tr>
</table>
<input type="hidden" name="ref" value="';echo $r;echo '">
<input type="Submit" name="submit" value="I agree">
</form>';

if ($submit == true) {

/* --- My executable script --- */

} else {
}
?>
-------------------------------
what can i do?

Re: php script not work

Posted: Sun Feb 14, 2010 2:36 am
by requinix
neomotive wrote:what can i do?
You can read this.