|
Posted by J.O. Aho on 01/11/06 11:06
Dan N wrote:
> On Tue, 10 Jan 2006 15:24:07 +0800, Dan wrote:
>
> Thanks for the replies, makes sense.
>
> Is there some way to do what I want to do without exposing the "send to"
> email address on the web page?
If you have the To: set in the PHP script itself (hard coded), then the
address ain't exposed to anyone. Keep in mind that the mail() does the stuff
at the server and not the same as making a anchor with mailto:user@example.net
(which opens usually the mail client with prefilled To:).
So just using juglesh's eregi_replace() example to filter your $fromText in
your current PHP script would do it as you wanted to have it, secure and
without exposing your address.
//Aho
Navigation:
[Reply to this message]
|