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

  • Home
  • SEARCH
  • 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 653387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:22:36+00:00 2026-05-13T22:22:36+00:00

I have a script that takes a while. I’d like to display a page

  • 0

I have a script that takes a while.

I’d like to display a page during the processing of the script then redirect when the process is complete.

E.g.: form.php -> processing.php -> display_result.php

I would like that processing.php is displayed immediately after form is submitted showing (Processing your information, please wait…)

Once processing is complete the page should be redirected to display_result.php

Is there anyway to sort of flush the content to the browser before processing begins, then redirect when the process is complete?

  • 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-13T22:22:36+00:00Added an answer on May 13, 2026 at 10:22 pm

    That sounds like a Javascript/Ajax task.

    Ajax calls are asynchronous, and this makes them ideal for what you are trying to achieve.

    You send the form content through an ajax request and then manipulate the DOM of the page to show something like a loading bar while the request is taking place. When the request finishes you can then manipulate the DOM again to show the result of the form processing, or redirect to a new page with that info.

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

Sidebar

Related Questions

I have a PHP script that takes a few minutes to finish processing. While
I have a script that takes a while to process, it has to take
I currently have a script that deletes old log files and then takes any
I have a script that uses Parallel::ForkManager . However, the wait_all_children() process takes incredibly
I have to use a provided script that takes user input while the script
I have a script that takes an uploaded text file, parses it and then
I have a script that requires ~5 minutes to execute and complete. Everything takes
I have a form that takes a little while for the server to process.
I have a Perl script that takes user input and creates another script that
I have a Perl script that takes text values from a MySQL table and

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.