Skip site navigation (1) Skip section navigation (2)

Re: Replacing @ with " at "

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: Devrim GUNDUZ <devrim(at)gunduz(dot)org>,Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: PostgreSQL WWW Mailing List <pgsql-www(at)postgresql(dot)org>
Subject: Re: Replacing @ with " at "
Date: 2003-12-05 12:34:39
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-www
On Friday 05 December 2003 06:20, Devrim GUNDUZ wrote:
> On Fri, 5 Dec 2003, Dave Page wrote:
> > > I saw something on index.php; but I'm not sure that it works:
> > >
> > >  ereg_replace("@", "&#064;", pg_result($rs, $x, "posted_by"))
> >
> > That was done by Greg Sabino Mullane
> hmm. I've edited index.php, and it seems ok now.
> I've also edited news.php and event.php. Dave, could you please commit all
> three files to CVS?

I have an issue with the way this was done.  The email addresses were left as 
links, but the links aren't valid (pops up in your email as foo at  
Theres a couple solutions to this:

1) Don't make the email address a link
2) make the mailto be a valid link, but the words on the page not 
3) add a checkbox to the submit page to "obfuscate email", so that s/@/at, and 
not a link, or we'll leave in @ and make it a link.

Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL

In response to


pgsql-www by date

Next:From: Devrim GUNDUZDate: 2003-12-05 12:43:45
Subject: Re: Replacing @ with " at "
Previous:From: Dave PageDate: 2003-12-05 11:46:26
Subject: Re: Replacing @ with " at "

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group