Jump to content

php script not work


neomotive

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/192014-php-script-not-work/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.