Hi!
When I've just put up my own web server, with php4.
the php is working (atleast "echo" commands and so on")
but the problem is when I try yo get html "variables" to php...
Here is an example of that... the code works on other PHP servers, but not on mine..
I know I'm not good at php, but atleast the script works on other PHP servers, but not at mine.. any ideas...
It's not just this script, but also other similar scripts...
Is it any extensions or something?
When I've just put up my own web server, with php4.
the php is working (atleast "echo" commands and so on")
but the problem is when I try yo get html "variables" to php...
Here is an example of that... the code works on other PHP servers, but not on mine..
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Favourite Band</title>
</head>
<body>
<?php
if (empty($band))
{
?>
<form method="post" action="">
<p>What is your favourite Band?<br><input type="text" name="band" size="20"><input type="submit" value="Submit"></p>
</form>
<?
}
else
{
echo "Your favourite Band is: $band";
}
?>
</body>
</html>
It's not just this script, but also other similar scripts...
Is it any extensions or something?