After processing the POST page, redirect the user to the same page.
On http://test.com/test.php
header('Location: http://test.com/test.php');
This will get rid of the box, as refreshing the page will not resubmit the data.
More Related Contents:
- Recommendations for processing incoming data on a web server [closed]
- How do I send a POST request with PHP?
- What is the size limit of a post request?
- Download File to server from URL
- How do I make an asynchronous GET request in PHP?
- Setting Curl’s Timeout in PHP
- How can I select and upload multiple files with HTML and PHP, using HTTP POST?
- What is the canonical way to determine commandline vs. http execution of a PHP script?
- How to use HTTP cache headers with PHP
- Manually parse raw multipart/form-data data with PHP
- Super fast getimagesize in php
- How to disable output buffering in PHP
- HTTP requests with file_get_contents, getting the response code
- Doing HTTP requests FROM Laravel to an external API
- Redirect to page and send custom HTTP headers
- Correct way to set Bearer token with cURL
- setcookie, Cannot modify header information – headers already sent [duplicate]
- How to include Authorization header in cURL POST HTTP Request in PHP?
- PATCH and PUT Request Does not Working with form-data
- Using the PHP HTTP_ACCEPT_LANGUAGE server variable
- How to get final URL after following HTTP redirections in pure PHP?
- Who Add “_” Single Underscore Query Parameter?
- How to make HTTP requests in PHP and not wait on the response
- Load Blade assets with https in Laravel
- Get “Content-Type” header of request in PHP
- Push notifications from server to user with PHP/JavaScript
- Detecting whether a user is behind a proxy
- Find out HTTP method in PHP [duplicate]
- How can I get the destination URL using cURL?
- Parsing HTTP_RANGE header in PHP