Practical PHP and MySQL Website Databases: A Simplified Approach by Adrian W. West

Practical PHP and MySQL Website Databases: A Simplified Approach by Adrian W. West

Author:Adrian W. West [West, Adrian W.]
Language: eng
Format: epub, mobi, pdf
Tags: Computers, Web, Web Programming, Programming Languages, Php
ISBN: 9781430260769
Google: 0GuAmwEACAAJ
Amazon: 1430260769
Publisher: Apress
Published: 2013-12-11T05:00:00+00:00


That concludes the tutorial on the database lmnmigrate. Some useful additions to a database-driven web site (or any web site) will now be described.

To enable users to contact the web site’s owner, the client has asked for a live e-mail address to be included in one of the web site pages. This could be a magnet for spammers. The webmaster should encode the live e-mail address so that spam spiders cannot harvest it.

Safe E-mailing

This useful item is for information only. A live but secure e-mail link is not included in any page of this chapter’s example web site. An influx of spam will cause distress to the site owner, and this breach of privacy can sow seeds of doubt about the security of the rest of the web site, especially the security of the database. This also damages the reputation of the web designer. This section describes a method for preventing spam.

Escrambler is a free, anti-spam device. It was originally produced as a plain, clickable e-mail link, and it was later enhanced by the addition of an image of the e-mail address by InnerPeace.org. Their web page is at http://innerpeace.org/escrambler.shtml. The web site will quickly generate the code for you, or you can adapt the JavaScript snippet that follows.

The JavaScript code allows for two conditions:

The full e-mail address appears on the screen in the form of an image that is clickable but invisible to spam spiders.

If no image is available, a link having the words E-mail Me appears on the web page.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.