Return to Snippet

Revision: 48350
at June 29, 2011 10:05 by kreatific


Updated Code
// Redirect
header( "refresh:5;url=index.php" );

// Custom Redirect
echo 	'<div id="message_redirect">' .
		'You\'ll be redirected in about 5 secs. If not, please <a href="index.php">click here</a>.'.
		'</div>';

Revision: 48349
at June 29, 2011 10:03 by kreatific


Initial Code
// Redirect
header( "refresh:5;url=index.php" );

// Custom Redirect
echo 	'<div id="message_thank-you">' .
		'Thank you! Your order has been placed. You\'ll be redirected in about 5 secs. If not, please <a href="index.php">click here</a>.'.
		'</div>';

Initial URL


Initial Description


Initial Title
PHP - Header Redirect

Initial Tags
php, header, redirect

Initial Language
PHP