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 6053409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:02:13+00:00 2026-05-23T08:02:13+00:00

So I am building a web application that uses iframe submission to asynchronously submit

  • 0

So I am building a web application that uses iframe submission to asynchronously submit to / pull data from an external .php service. I have a new constraint on my project that requires being able to pull a large amount of data down. Normally I would just have the external .php service redirect back to my local page with the data appended to the URL as a query string, but I don’t think this is safe as there is the potential to have 5,000+ character long chunks of data (not to mention that I may be pulling up to 3 “chunks” in a single request).

My question to you all, then, is how can I go about declaring a POST variable in my .php service? In addition, if I declare a POST variable will it actually make it to the page that I redirect to via Header(‘Location: someLocation.php’); (I have a sneaking suspicion that it will not).

If this is not the best way to approach this and there is a better way to, from a .php file, redirect to an external location with declared POST variables please let me know.

***In the past I have used javascript to append a form to an iframe page, fill out text fields with what I needed, point the form at an external page, and then submit it. This is not a viable alternative as the .php is running as a service and therefore any javascript that I place within it will not be executed as the page is never rendered by a browser.

Best regards,

  • 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-05-23T08:02:14+00:00Added an answer on May 23, 2026 at 8:02 am

    Utilize session variables.
    This should get you started


    Update due to comments below:

    You could try using cURL to send the posts

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

Sidebar

Related Questions

An application I'm building uses a local Service for downloading files from the web
Hi all Im building a android application that requires data from a PHP server.
I'm building a rich web application that uses a lot of data. When I'm
I am building a web application that uses the database for Users, Security/roles, and
I am building a web application that needs to print directly from browser, however,
I am building a web application that is currently PHP with MySQL. There is
I'm currently building an web application for a customer that uses a rich client.
We're building a latency-sensitive web application that uses websockets (or a Flash fallback) for
I'm building a web application that uses LAMP and the Smarty template framework. The
I'm building a client-server (c#) application that uses a web services to synchronize the

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.