Form Post variales are coming as empty in the submitted PHP page.
Posted on 2004-09-23
I have a problem getting form/post variables from HTML page to PHP page. For example:
in HTML page I am writing :
<form action="testres.php" method="POST">
<input type="text" name="samplevar"><br>
In testres.php I am writing
samplevar variable is getting as null in the above PHP page ....I checked the settings in php.ini file and register_globals = On
always_populate_raw_post_data = Off.....I don't know how to resolve this issue... .I am running PHP V 4.3.8 on Linux Apache server.
Can anybody please help me fixing this issue?
Thanks in advance.