Developer's Manual  Function Reference  Redirects  suLocation

suLocation

Sends header "Location: <url>" and terminates the current script.


void suLocation
(string url_address)

Example

<?
$redirectURL
= suBASE . '/' . suLANG . ($registrationCompleted ? '/thankyou/' : '/registration/');
suLocation($redirectURL);
?>
Please login to add comments.