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( "mailmeat@gmail.com", "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

 

 

Link to comment
Share on other sites

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");

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.