Jump to content

Header is not going to the location specified


regprick

Recommended Posts

<?

  $name_from = $_REQUEST['name_from'] ;

 

  $email_from = $_REQUEST['email_from'] ;

 

  $age = $_REQUEST['age'] ;

 

  $message = "NAME: ".$name_from."\n"."EMAILED : ".$email_from."\n"."\n"."AGE: ".$age."\n";

 

 

  mail( "[email protected]", "data submitted",

  $message, "From: $email_from" );

  header( "Location:www.yahoo.com " );

?>

 

this is my php script, but it is not going to the location given; can anyone help.... please please

 

 

No, i want all this data to go to the specified mail and then it should show my website...

 

please write the codes and show.. i will not be able to understand otherwise..as am a newbie

 

um... i'm a little confused as to what you're looking for now?

 

if you are trying to send the people to Yahoo, then just use the code i posted:

 

header("location: http://www.yahoo.com");

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.