What are some best practices for creating a success page in PHP for users who have JavaScript disabled?

When users have JavaScript disabled, they may not be able to see the success message typically displayed on the page after a form submission. To ensure these users still receive confirmation of their action, you can create a success page in PHP that will be displayed instead. This page can be designed to show a simple message confirming the successful submission of the form.

<!DOCTYPE html>
<html>
<head>
    <title>Success Page</title>
</head>
<body>
    <h1>Success!</h1>
    <p>Your form has been successfully submitted.</p>
</body>
</html>