Running PHP application On Linux SErver
Hi all,
I am facing problem when i try to put my PHP pages on Linux Server
which is working fine in windows . I have Red Hat Linux V 8.0 and i
added package apache web server, Mysql Server in that .(added PHP and
all things ) But my php page is not working.(no error but the script is
not executing at all...(even the simple one !!) .pls help me.. thanks
in advance..
ckb
PHP Version is 4.2.2 and my code is below:
<html>
<body>
<?php
if (!$submit)
{
?>
<form name="frmentry" action = "<?php echo "$_SERVER[PHP_SELF]"; ?>"
method="POST">
<font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b> Full
Name </b></font>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<input type="text" name="txtFullName" size="30"
maxlength="50"></font>
<br>
<input type="submit" name="submit" value="Submit" >
<input type="reset" name="Submit2" value="Reset">
</form>
<?php
}
else
{
?>
<font face="Verdana, Arial, Helvetica, sans-serif"
size="1"><b>Entered Full Name is </b></font>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2" >
<input type="text" name="txtFullName" value="<?php echo
$txtFullName; ?>" size="30" maxlength="50" ></font>
<?
}
?>
</body>
</html>