I am passing the following data through url :
<?php
$url = "generate_pdf.php/?feed=" . urlencode(serialize($result));
echo '<div id="left-sidebar">';
echo '<a href="' . $url . '"><div id="pdf">Download PDF</div></a>';
echo '</div>';
?>
Here the $result
containing the rss feed data in form of array. I am using urlencode(serialize($result)
for passing that data through url and its working perfectly on local machine but in server it showing the following error :
Request-URI Too Large
The requested URL's length exceeds the capacity limit for this server.
Please tell me your views to deal with this problem.