Skip to: [content] [navigation]
Designed and programmed by Andy Hughes, Hughes Computer Consulting

Dilemma

Solution

Hughes Computer Consulting provices the solution.

Features

Implementation

This one is very simple.
On a page you want to have a tell-a-friend link, you simply add this anchor:
<a href="http://www.HughesComputerConsulting.com/database/tell-a-friend.php
?domain=DOMAIN&link=LINK&name=NAME">tell-a-friend</a>
(one line, not two, it's broken here to fit on the page)
It's important to note that although the order of the parameters is not important, the first one must be prefixed with a question mark (?) and all the following parameters must be prefixed with the ampersand (&).

DOMAIN is the 'pretty' name for the domain (eg. DarkroomSource instead of www.darkroomsource.net)

LINK is the complete url to the page (eg. http://www.darkroomsource.net/rentals.shtml)

NAME is the 'pretty' name for the page (eg. Darkroom Rentals)

If you don't provide the name parameter, the software will check the link to find the title (between <title> and </title> tags). This does add time to the loading of the page, so it's preferable to pass the name parameter.

If you have a realm on the database server, you can use realm=REALM instead of domain, and pageid=PAGEID instead of link and name. This will cause the software to get the realm name and page name and backlink from the database.

If you have a realm, and send the realm parameter, you can still send the link and name parameters.

If you send the realm parameter with or without the pageid parameter, you can still send the domain and/or link and/or name parameters, they will override the database values.

Text Size +R