What are some potential methods to redirect from PHP to another page without user interaction?

When you want to redirect from PHP to another page without user interaction, you can use the header() function to send a raw HTTP header to the browser. This function allows you to specify the location where the browser should be redirected. Make sure to call this function before any output is sent to the browser to avoid any errors.

<?php
// Redirect to another page without user interaction
header("Location: http://www.example.com");
exit;
?>