List Info

Thread: note 78980 added to function.mail




note 78980 added to function.mail
user name
2007-11-05 16:42:45
How do i get this to work?

<?php
/* This will give an error. Note the output
 * above, which is before the header() call */
header('Location: http://www.PAGE-T
O-REDIRECT-TO.com/');
mail('namewebsite.com', 'TEST', $_SERVER['REMOTE_ADDR']);
?>
----
Server IP: 69.147.83.197
Probable Submitter: 207.190.226.22
----
Manual Page -- http:/
/www.php.net/manual/en/function.mail.php
Edit        -- https://master
.php.net/note/edit/78980
Del: integrated  -- h
ttps://master.php.net/note/delete/78980/integrated
Del: useless     -- http
s://master.php.net/note/delete/78980/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/78980/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/78980/spam
Del: non-english -- 
https://master.php.net/note/delete/78980/non-english
Del: in docs     -- http
s://master.php.net/note/delete/78980/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78980
Reject      -- https://mast
er.php.net/note/reject/78980
Search      -- https://
master.php.net/manage/user-notes.php

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


note 78980 deleted from function.mail by nlopess
user name
2007-11-05 17:35:01
Note Submitter: B1FF 

----

How do i get this to work?

<?php
/* This will give an error. Note the output
 * above, which is before the header() call */
header('Location: http://www.PAGE-T
O-REDIRECT-TO.com/');
mail('namewebsite.com', 'TEST', $_SERVER['REMOTE_ADDR']);
?>

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


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )