redirect form to current url

<?php
$current_url = “//” . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’];
header(‘Location: ‘.$current_url);
?>

Leave a Reply

Your email address will not be published. Required fields are marked *