> header("location: http://www.website.com <http://www.website.com/> ");

I usually use header() like this :
header("location: http://www.website.com";);

you can try that, maybe it might work.



"Kelly Protsko" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Basically what I am doing is having a post  call a page with the
> following code to email the form contents.
> I want the page to redirect back to the page it was sent from after the
> mail has been sent.   The top mailing part works fine but when I put the
> header redirect in at the bottom I get an error on my post saying the
> page doesn't exist anymore.
> Any idea what would be causing this?
>
>
> $formcontent = " $_POST[content]";
>  $toaddress = "[EMAIL PROTECTED]";
>  $subjectline = "$_POST[subject]";
>  $headers = "From: $_POST[email]";
>  mail( $toaddress, $subjectline, $formcontent, $headers);
>
> header("location: http://www.website.com <http://www.website.com/> ");
>
> Thanks
>
> Kelly
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to