Hi guys,
Looking for help on how to activate the automatic passing of variables -
think i need to change something in my php.ini file maybe?
got scripts that work fine on one server, but i've recently got a new
virtual server, and it won't pass variables though - example script......
<html>
<head>
<title>Matt's PHP</title>
</head>
<body>
<center><h2>Message</h2>
<form method="post" action="<?php echo $PHP_SELF?>">
<?php
if($message) {
echo "$message";
}else{
?>
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
message:
</td>
<td>
<textarea name="message" cols="40"
rows="8"></textarea>
</td>
</tr>
<tr>
<td colspan=2>
<input type="Submit" name="submit" value="Send">
</td>
</tr>
</table>
<?php
}
?>
</form>
</center>
</body>
</html>
This always just gives the form for entering your message, it never does the
bit where it prints it out.
hope this is clear enough,
cheers,
Matt
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.323 / Virus Database: 180 - Release Date: 08/02/02
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php