You can try this code to response.redirect


<?php


header <http://ads.digitalpoint.com/go.php?k=header>("Location: http://www.
.../thanks.htm");

?>

<?php

$name = $_POST["aname"];
$fromadd  = $_POST["aemail"];
$phone  = $_POST["atelephone"];
$jtitle= $_POST["ajtitle"];
$company= $_POST["acompany"];
 <?php


header <http://ads.digitalpoint.com/go.php?k=header>("Location: http://www.
.../thanks.htm");

?>

<?php

$name = $_POST["aname"];
$fromadd  = $_POST["aemail"];
$phone  = $_POST["atelephone"];
$jtitle= $_POST["ajtitle"];
$company= $_POST["acompany"];
 <?php


header <http://ads.digitalpoint.com/go.php?k=header>("Location: http://www.
.../thanks.htm");

?>

<?php

$name = $_POST["aname"];
$fromadd  = $_POST["aemail"];
$phone  = $_POST["atelephone"];
$jtitle= $_POST["ajtitle"];
$company= $_POST["acompany"];


$to = "[email protected]";
$subject = "Brochure Request";
$body = "This is a request from the website for a .....,\n\nThe requst has
come from ".$name."\n\nTheir phone number is ".$phone."\n\nThey are from the
company ".$company."\n\nThier Job Title is ".$jtitle;
$headers = "From: ".$fromadd."\r\n" .
    "X-Mailer: php";
if (mail($to, $subject, $body, $headers)) {
echo("<p>Message sent!</p>");
} else {
  echo("<p>Message delivery failed...</p>");
}


?>

$to = "[email protected]";
$subject = "Brochure Request";
$body = "This is a request from the website for a .....,\n\nThe requst has
come from ".$name."\n\nTheir phone number is ".$phone."\n\nThey are from the
company ".$company."\n\nThier Job Title is ".$jtitle;
$headers = "From: ".$fromadd."\r\n" .
    "X-Mailer: php";
if (mail($to, $subject, $body, $headers)) {
echo("<p>Message sent!</p>");
} else {
  echo("<p>Message delivery failed...</p>");
}


?>

$to = "[email protected]";
$subject = "Brochure Request";
$body = "This is a request from the website for a .....,\n\nThe requst has
come from ".$name."\n\nTheir phone number is ".$phone."\n\nThey are from the
company ".$company."\n\nThier Job Title is ".$jtitle;
$headers = "From: ".$fromadd."\r\n" .
    "X-Mailer: php";
if (mail($to, $subject, $body, $headers)) {
echo("<p>Message sent!</p>");
} else {
  echo("<p>Message delivery failed...</p>");
}


?>






On Tue, Nov 9, 2010 at 4:00 PM, Jeena Ajiesh <[email protected]> wrote:

> Hi friends ,
> Can anyone help me in this problem?
> Response.redirect will move to that URL which I'm passing.
> How can i stay in the same page and send the values to a different Server
> where my php file resides without changing the page?
> This response.redirect event occurs at button click.
>
> Eg:
>          Response.Redirect("http://myserver/Website.php?username="; &
> textbox1.text & "id=12")
>
>
> --
>  ****************
> **Thanks & Regards,
> Jeena Ajiesh
> Email: [email protected]
>            [email protected]*
>
>


-- 
Regards
Manish Mhatre
9076417538

Reply via email to