Redirects to a RELATIVE path, like "user/profile" (which works very fine unless you are using HUGE inside tricky
sub-folder structures)
public static to ( $path ) | ||
$path | string |
In this example, the code processes a form submission and saves the data to a database. After the data has been saved, the user is redirected to a 'thank you' page using the PHP header function. PHP Redirect to function is part of the PHP core and does not require any external package or library.
public static to ( $path ) | ||
$path | string |