Passing the variables ...
| From: | Mukta Telang | Date: | Tue, 29 Oct 2002 17:41:30 +0000 |
| Subject: | Passing the variables ... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-121811@lists.php.net to get a copy of this message | ||
I have written followong code in hello.html:
<HTML>
<HEAD>
</HEAD>
<BODY>
<FORM ACTION=hello.php METHOD=POST>
<B>enter your name:</B>
<INPUT TYPE=TEXTAREA NAME=textbox>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY>
</HTML>
and following in hello.php:
<HTML>
<HEAD>
</HEAD>
<BODY>
<?php
printf("<BR>hello %s!",$textbox);
?>
</BODY>
</HTML>
This script works fine with php in redhat 7.2 system
but does not work in solaris 7 !
I have done the php installation...
apache version: 2.0.40
php version: 4.2.2
What are the chances that the problem is with the php-installation?
( I had to copy code from apache2filter directory of pre 4.3 version of
php to remove errors during make )
I tried using echo($_GET['$textbox']) instead of printf statement in
hello.php..
What could be the problem??
Please help!!
mukta