Hi Amish,
try setting "register_globals = On" in the php.ini file.
Let me know if it works.
Regards,
Kapil Karekar
Libre Technologies
kapil at
libretech.com
091-022-28677305
http://www.libretech.com
---------------------------------------
Let's build a Free Software Economy
---------------------------------------
----- Original Message -----
From: Amish Munshi
To: <linuxers(a)mm.ilug-bom.org.in>
Sent: Wednesday, January 22, 2003 3:19 AM
Subject: [ILUG-BOM] PHP and apache 2.0
Hi,
I am working on RH8.0. I configured php and apache, but the post
or get are not working. Any data sent by the form is not being received
by the php page.
This is the content of my index.html
<html>
<body>
<form action="trial.php" method="get">
<input type="text" name="amish">
<input type="submit">
</form>
</body>
</html>
And here is my trial.php
<html>
<body>
<?php
echo("$amish");
?>
</body>
</html>
But the output is a blank page, the phpinfo() page is working
absolutely fine.
The output of the rpm command is as shown below.
[root@munshi html]# rpm -qa | grep php
php-imap-4.2.2-8.0.5
php-mysql-4.2.2-8.0.5
php-dbg-server-2.10pl3-6
php-dbg-client-2.10-6
php-pgsql-4.2.2-8.0.5
php-ldap-4.2.2-8.0.5
php-manual-4.2.2-8.0.5
php-dbg-base-2.10-4
php-4.2.2-8.0.5
php-odbc-4.2.2-8.0.5
[root@munshi html]#
[root@munshi html]# rpm -qa | grep httpd
httpd-manual-2.0.40-8
httpd-2.0.40-8
redhat-config-httpd-1.0.1-13
[root@munshi html]#
Where should I start hunting for the solutions.
Bye.
--
Amish K. Munshi
In GNU we trust.