You are here: Re: Hacked By Spammer « All PHP « IT news, forums, messages
Re: Hacked By Spammer

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация