php script not work

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
neomotive
Forum Newbie
Posts: 2
Joined: Fri Jan 08, 2010 2:44 am

php script not work

Post 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?
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: php script not work

Post by requinix »

neomotive wrote:what can i do?
You can read this.
Post Reply