Hi,
I am running with a post varible problem.
I have a hidden variable name as "file" and form name as
as follows
$download_summary_file = urlencode($download_summary_file);
<form method="post" action="rpt_download.php" enctype="multipart/form-data" name="summary_download">
<input type="hidden" name="file" value="<?php echo $download_summary_file ?>">
<!-- <textarea name="file">
<?php echo $download_summary_file ?>
</textarea>-->
<table bgcolor="#CCCCCC" width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="main">
<tr align="center">
<td>
<input type="submit" value="Download Summary Report">
</td>
</tr>
</table>
</form>
When i click on submit button i am calling rpt_download.php as
echo "<pre>";
print_r (urldecode($_POST["file"]));
echo "</pre>";
In the middle of the output I am seeing some wierd stuff like
%A-----------------------------7d3b0dd40042
Content-Disposition: form-data; name=\"file\"
Just wondering from where it is comming and how to get rid of it!
Appreciate your help!!