Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8653295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:30:38+00:00 2026-06-12T14:30:38+00:00

I am passing the following data through url : <?php $url = generate_pdf.php/?feed= .

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T14:30:39+00:00Added an answer on June 12, 2026 at 2:30 pm

    I made this mistake (It was more than not knowing than making a mistake!) once. I’ve build an ajax engine for webapps. It used only the get method. Once I had a form with a lot of data and it did not work.

    After some research I found out this: look here

    So basically most browser does not make any problems because they support approximately 100.000 characters. But most web-servers like Apache only support 4000 characters from a URL.

    No you can not just configure Apache to accept more. It is possible do but you have to edit the source code to do so.

    solution: Use the POST method it is made for large data transfer between web-servers and clients(which are most likely browsers).

    In your case I think you want to create a pdf with some user input an for some reason that input is larger than 4000 characters.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am passing the following URL in order to load a report in SSRS.
I'm passing the following parameter as an url fragment to flex. (#groupID=2385) This works
I finally had success passing data through AJAX and returning it in JSON. However,
I have to send the following data to webservice at URl The format of
jCarousel documentation states the following: By passing the callback function itemLoadCallback as configuration option,
Following on from a comment I made on this: passing std::vector to constructor and
I have the following RSpec example which is passing: describe UsersController do it should
has anyone an idea why I have the following problem with passing locals to
I am having problems with passing arguments to new threads, I have the following
I have following code for loading image from url in xml parsing endElement method

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.