I just ran in the form action var_dump($_GET)
, it has given following results when I submitted the form and it is giving form values to the URL.
array (size=4)
'randomkey' => string 'asdf' (length=4)
'agreementid' => string 'adfas' (length=5)
'attachment' => string '' (length=0)
'upload' => string 'Add' (length=3)
But, When I ran the var_dump($_POST)
with same form values it has given following results-
array (size=0)
empty
I have checked several thread of StackOverFlow.com, like-
1. PHP $_POST not working but $_GET works fine
2. https://stackoverflow.com/questions/14573071/
I have checked RadCompression
RadUploadModule
both are turned off. I have tried by removing .php
from form action value, because I have removed .php
extension using .htaccess
HTML @ below-
<form action=\"upload\" enctype=\"multipart/form-data\" method=\"post\">
<input type='text' value='' name='randomkey' />
<input type='text' value='' name='agreementid' />
<input type='file' name='attachment' />
<input type='submit' name='upload' value='Add' />
</form>
What Can I Do Right Now?