-
Now They Signed Up – Learn How To Keep Them
Member retention is going to have a large effect on the adult industry over the next few months, with Visa chargeback rates being lowered and, many affiliate programs lowering their payout model something has to give and, hopefully, the thing that does give will be that affiliate programs start to realize that once they have your surfer, it becomes their responsibility to make that member retain.
With that in mind this article will look at a few things that we have been doing on some of our paysites for the last few months and, instead of having to provide an excess of plug in content we have started updating our sites regularly within the niche confines of what our members are actually looking for, also, despite this increase in content, we have started doing something unique so far as member retention goes – actually communicating with the member directly.
Communication Pays.
Actually spending the time to listen to what your members want can be beneficial on many levels for example, how many of the big sponsors offer the member a chance to become involved in a ‘community’ inside their paysites, i can only think of 3 paysites that i have personally visited that do this.Often, offering your members a way to communicate to YOU what they want inside the site can, and usually will increase the value of their membership to you in the long run. offer your members weekly polls, offer them incentives to keep an active membership, perhaps some kind of loyalty program, in addition to a method of your paysite members being able to communicate to each other inside your site.
Content Updates.
We all know that paysites need to update however, how many paysite owners spend the time to ask their member what they are looking for? As mention in the previous section, offer your members polls on the next updates you will be doing, ask them what sections of the site need improving and, more importantly, ask them if they are happy with how your site looks and feels overall.Renewal Time.
So you have managed to keep hold of your paysite member for a few days without them canceling and, their trial period is ending what now? Well, more often than not, communicating to the member that they are about to get rebilled can have a positive effect, send them an email prior to the rebill informing them of what your next set of updates will be, let them know they are a valued member of the site and, more importantly than this, that you are there to help them and listen to their suggestions. This is also an ideal time to remind them of why they joined your site in the first place, you have a lot of exclusive content that, simply put, no other paysite can offer them, you listen to their feedback and, again, value their feedback, all of these things will ensure that your member base retains well over the trial period.Second Month Renewals.
So you have managed to keep your member for a month, and, again they are due a rebill, as with the first rebill you gave them, re-iterate the points of your site and, tell them what has changed over the past month, give them some sales speak about how your site is doing and, more importantly, what you have coming next month, by communicating these updates to your members a day or so before they have to renew, you should, in all honesty, keep their interest in your paysite and, more importantly, make more money from your members.So Your Member Cancels.
Okay, so perhaps you managed to rebill your member for a few month or, perhaps they left after the trial period, what now? Simple, send them a follow up email, find out the reasons they cancelled their membership to your site and, see if you can offer them an alternative to stay, perhaps a reduced cost membership or, maybe even an alternative site altogether, if they entered your teen pay site and, were looking for amateur teen pics, even though you know you don’t have them yet, you will probably know of a site that does, tell this cancelled membership about this site and, get them to try it out, if you can match what the surfer is looking for to a site you own then you have a second chance at keeping their membership and, making money.Retention Overview.
When all is said and done the one thing that is apparent so far as pay sites go is that a lot of them do not communicate with their members and build the sites they operate around what their members are looking for, we can all say we actually do this constantly but, how many of us really, hand on heart, can prove that they ask, listen and, more importantly, implement the feedback from their members base?Article written by Lee
-
The Successful Marketing Approach
In today’s volatile and competitive marketplace, the strategic manager must possess a sophisticated perspective regarding creating and maintaining the overall image of the organization.
In order to accomplish this goal, marketing must play a key role, regardless of the company’s size.
To be truly effective, a company must be up-to-date with it’s marketing ‘psyche’. In bygone times, companies concentrated on items it was able to produce, not on customer needs and wants. This type of outdated thinking will most likely lead to a rather short lifespan.
Today, marketing is a holistic approach that is often more complex than first thought.
What Is Marketing?
It is a process through which an organization identifies a need and then provides a means of filling or satisfying that need.
Customers are more informed and savvy than in the past and they expect more – in the quality of both products and service. Today’s customer is not willing to merely sit passively by and consume – he wants a voice and relationship with the companies with whom he chooses to conduct business.
Marketing is not deciding where and how to advertise. This is only one component of the process. Effective managers make sure they have a well-defined and mapped out strategy that deals with the entire lifecycle of the process. The most successful companies have a keenly honed customer-centric marketing model.
This model outlines a process that allows the company to determine the needs and wants of a “target market” and deliver this while instilling in the customer the belief their company’s ‘satisfaction solution’ is better value than the competition’s.
The first step in a marketing strategy involves the identification of unmet needs within a market and delivering/developing products and/or services to meet those needs.
Define Your Market First.
Is it a business-to-consumer company, a business-to-business company, or both? Regardless of the target(s) a company must be able to clearly identify a common need amongst a large portion of this market, as well as that portions propensity and ability to buy that product or service.
Once the target market has been identified it is time to do some analysis. The depth, complexity and related cost should remain proportionate to the ratio of overall business this product or service is anticipated to generate.
Analyze Internally.
What will be involved in creating this product or service? Is there access to all of the necessary components? How much volume can be handled? Are their efficient distribution channels? What will it cost to make or provide this? The next phase is an external analysis that looks at specific trends within the target market. With this information in hand, a company is then able to make an informed decision as to whether or not it is feasible to proceed. Now that the target market has been identified and the operational side has been flushed out, a strategy can be addressed. How a company decides to communicate its message should be in correlation to its overall marketing strategy. Whether the most effective method of conveying you message to the target audience is through traditional advertising channels, the Internet or more innovative activities, it should be apparent from the prior analysis. The final phase of a marketing strategy should examine the component of customer relationship management: What processes are in place to service our customers? How do we ensure a positive resolution of customer complaints? What performance measurements will be used to determine how well clients are being serviced? And, most importantly: How will customer relationships be maintained so they will do business with us again and again? By developing a comprehensive strategy that spans the entire lifecycle of new to repeat client, a company will find it is able to effectively address the present needs and wants of it’s target markets, as well as being able to incorporate new areas as they develop. Article written by Lee
-
Building A Surfer Trap – Stage 6
Stage 6 already!
Only 2 more stages to go after this tutorial until you have a fully functional surfer trap!
Ok as promised in the last tutorial, we are going to implement the table pages you hopefully made in our last tutorial.
You now need to signup for ANOTHER counter code. Use the same counter as you did last time and, again, make sure the URL you send the traffic from the counter to is your main Multi-Site FPA surfer trap page.
Ok, you have the new counter code, what you should do with this is place it on every one of the niche table pages we made yesterday. Nowhere else except on these pages.
Once you have the counter code placed you now need to go back to our consoles, what we are going to do is make these HTML table pages into a secondary console from off the first pop up that we get when a surfer visits any of our FPA’s.
What you should do is enter the following coding in between the <head> and </head> tags of the niche pop-ups ensuring that you choose a DIFFERENT niche to the one of your original consoles:
<!—— BEGIN CONSOLE CODE ——->
<SCRIPT language=Javascript>
<!–
var exit=true;
function exitcnsl()
{
if (exit)
open(“http://www.yourdomain.com/tableconsolepage.html”, “tables”,”toolbar=0,location=0,status=0,menubar=0, scrollbars=0,resizable=0, width=800,height=600,top=0,left=0″);
}
//–>
</SCRIPT>
<!—— END CONSOLE CODE ——->You need to edit the figures for width= and height= to reflect the size of your table, ideally the frame of the console should be around 3 or 4 pixels either side of your tables.
Ok now once you have added the above to your existing pop-ups you now need to add the following to the newly created table consoles between the <head> and the </head> tags:
<SCRIPT language=javascript>
self.blur();
</script>What this will do is once the first console loads, it will immediately load a second console but, this second console should be ‘hidden’ behind the main window that is displayed. We have created a blur console.
We now have one last thing to do with this ‘blur console’ that we have just created.
Go to the HTML coding for the table ad console and add the same JavaScript to that page however, this time you DO NOT need to use the self.blur section of the instructions or, change the sizes of the console that pops.
Instead you need to add the following to the <body> tag:
onUnload=”exitcnsl()” so as an example your body tag may look like this:
<BODY BGCOLOR=#000000 onUnload=”exitcnsl()”>
Now you also need to alter the location for the console that will pop this time, you have a choice, you can send the console directly to the ARS POTD program or, you can send it BACK to your Multi-Site FPA page, at which point the surfer will be able to select another niche or leave your site.
Now remember, this surfer trap IS aggressive however, every time one of your counter codes load both from the FPA’s where we implemented them AND on the newly created table consoles we are gaining extra traffic.
If you have ANY questions at all please do not hesitate to post on the forums and myself or one of our administrators will assist you.
Article written by Lee
-
Online Adult Laws – Privacy Policies
To many webmasters and companies working online the fundamental basics of their business is to turn a profit through effective online marketing campaigns and promotions however, within all of this profit making there is a side of business that is so often overlooked or, forgotten entirely, what is this business practice? The law.
In this brief article we will take a look at one such law that comes into effect in California on the 1st July 2004 namely, that all ‘web sites that collect any personal information from consumers to post a privacy policy’. Whilst this in itself is the first law of its kind in the United States it is worth mentioning that this is only a State law that affects California however, that said, where one state starts, others are sure to follow especially considering the huge potential left for the growth of the internet.
Privacy Policies – How Does This Effect You?
The main factor that you must take into consideration with this new law from California is that, because the Internet is truly global, you have no way of telling where one of your surfers are coming from thus, a surfer entering your site from California, may be making you break the law by not displaying a privacy policy should you collect their information. Incidentally, this new privacy policy law does not state what ‘collected’ information requires you to post a policy however, it would seem that personal information such as addresses, phone numbers and email addresses would be the primary target of this new Californian online law.Privacy Policies – The Basics.
So what is a privacy policy, in essence, it is a document informing your site visitors / customers that any information you collect from them, including user submitted information will be used in a specific way, this might be a case of solely being used by yourself or, specifically if you rent out this information you need to tell your surfers / customers exactly who you are renting this information to.Privacy Policies – Overview.
Whether you collect personal information from you site visitors or not the one thing that makes sense is to have a page created ready for the 1st July 2004 so that you can have it online for when you need it, perhaps storing this page on a central domain and linking to that page from all of your other web sites would be the best method to go as far as ensuring you are covered from prosecution or, perhaps creating a keyword rich privacy policy which you can get listed in the search engines is the way to go after all, just because this will become a legal requirement for you it does not mean that you cant profit from the potential traffic going to that page.Article written by Lee
-
International Billing Alternatives – Premium Phone Billing
In the last article i wrote in respect of international billing options we took a closer look at the SMS Billing method and its pitfalls and benefits when charging our surfers for access to our sites. In this article we will take a look at another option we can offer our international surfer base – Phone Billing.
Phone Billing – What Is It?
Phone billing, as the name would suggest is a method of applying a ‘charge’ to a surfers normal land-line telephone. This charge is often around the cost of $35 (US).Once the surfer has called the premium rate number displayed on your websites join page, they are given a code to enter into a form, again, this form could be on your join page or on a separate site.
Phone Billing – What Are The Costs.
To be perfectly honest with you this is all dependant on to many variable factors to give you a good solid answer. However, as mentioned above the standard cost would seem to be in the region of $35 (US) but, this can often vary depending on factors such as the country in which the surfer is calling the premium rate line from, How much the surfers telephone company charges for a call, How much the paysite charges for access, How much the premium rate phone line provider charges, etc etc.Generally speaking however, the cost to the surfer is almost always made into profit in your pocket, if a call costs $35(US) you will almost certainly make $35(US) from that surfer minus a small percentage (depending on the provider) again however, this figure may vary slightly.
Phone Billing – Overview.
As with SMS Billing, Premium Rate Phone Billing offers a good alternative for your international surfers to access a paysite however, this doesn’t come without its drawbacks. Unless your members area is updated regularly and is of high quality you are going to make $35(US) approximately of each surfer unless, that is, they decide to call the premium rate number again for access to your site for another month.That said, if you do not want to offer your foreign surfers the option of having credit card or debit card access to your sites Premium Phone Billing would almost certainly be my second choice to make money from them at the present time.
Article written by Lee
-
Obscenity – Put It To The Test
Regardless of how long any of us have been an adult webmaster we all need to be
aware of obscenity laws and, in particular how they affect our businesses
whether we think a hardcore photoset is ‘obscene’ or not ultimately, if you get
taken to court on obscenity charges the one thing you should be aware of is how
the courts will decide whether the images you are using will be classified as
obscene or not.Testing Obscenity – The Miller Test.
The Miller test was developed in the 1973 court case of Miller vs. California
and in comprises of three parts ALL of which MUST be satisfied on order for
something to be deemed obscene by the courts. The Miller test is the ‘official’
method used by the United States Supreme Court for determining whether an
expression or a speech can be determined as obscene and, if deemed obscene, it
is not protected under the First Amendment and is therefore prohibited by law.The Miller Test – Part One.
Part one of The Miller Test states something may be obscene if ‘the average
person, applying contemporary adult community standards, would find that the
work, taken as a whole, appeals to the prurient interest’ In essence, this
means that if the ‘average’ person on a jury or on the bench finds the work to
be deemed obscene then, it is. However for the court to rule something as
obscene it also has to be deemed obscene by the standards set in part two and
part three below.The Miller Test – Part Two.
Part two of The Miller Test states that something is potentially obscene is
‘the average person, applying contemporary adult community standards, would
find that the work depicts or describes, in a patently offensive way, sexual
conduct’. Basically this is saying that if the images or speech is something
which is not practiced in a manner befitting your local community standards
then again, it may be obscene. However, as with part one of The Miller Test for
a court to find something obscene it needs to fall below the standards in part
three below.The Miller Test – Part Three.
Part three of The Miller Test states that something is potentially obscene if,
‘a reasonable person would find that the work, taken as a whole, lacks serious
literary, artistic, political, or scientific value.’ This is pretty much where
you could potentially come unstuck after all, everyone has different sexual
tastes and because of this, just because something that may be widespread such
as ‘bare backing’ (to use as an example) could potentially be considered as
obscene if you happen to have a jury who are devout practicers of safe sex.The Miller Test – Overview.
In essence The Miller Test is a useful guideline for webmasters when it comes
to operating our sites and specifically, when it comes to choosing the types of
content we utilize on them however, for the most part The Miller Test itself is
outdated. Since the early 70’s when this test was devised there have been many
sexual practices that were once deemed obscene that have become more a part of
everyday life and accepted in to society as whole thus, what once would (or
could) have been deemed obscene would no longer be in the same sense as
something that may be deemed obscene today could be found not to be in 5 years
time.Article written by Lee
-
Everything You Need To Know About Meta Tags And More!
Everything You Need To Know About Meta Tags And More!
There’s a plethora of different META Tags that you can make use of on your site. Because there are so many, it’s impossible for me to cover all of them in this article. However, I will describe the most common ones. But let’s start from the beginning, shall we?What Are META Tags?
META tags are similar to standard HTML tags. However, there is one big difference: You have to insert all META tags between the <head> </head> tags on your page(s). META tags are used primarily to include information about a document. The META tags will be invisible to your site’s visitors, but will be seen by browsers and search engines.For The Search Engines.
Several of the major search engines make use of the META Keyword tag, and virtually all of them make use of the Description tag. These tags help the search engine spider determine the content of your web site so that it can be indexed properly.This is what they look like:
<META name=”keywords” content=”Webmaster Resource Site”>
<META name=”description” content=”Online Webmaster Resource Site”>You can also instruct the search engine robot/spider how to index your site using the robots META Tag. This is what it looks like:
<META name=”robots” content=”noindex,nofollow”>
What the tag above does is tell the spider not to index the page that it appears on, and not to follow the links on that page. Here’s a complete list of attributes for the robots tag:
index – the default, the page is added to the search engine database
noindex – the page is not added to the search engine database
nofollow – the spider doesn’t follow the links on that page
none – same as “noindex, no follow”
To use any of these attributes simply replace the “noindex,nofollow” text in the example above with whatever you want to use. If you need to use more than one attribute, separate them with a comma.
Client Pull.
Have you ever seen a page that automatically refreshes to another URL after a few seconds? Did you ever wondered how it was done? I’ll tell you. The page made use of one of the http-equiv META Tags to automatically “pull” you to a different page after a few seconds. Here’s what the code looks like:<META http-equiv=”refresh” content=”1; url=newpage.htm”>
The value of content denotes how many seconds will pass before the new page is called for. If you want it to happen as soon as a person hits that page, then set the value to “0”.
Prevent Caching.
If you want to prevent a page being saved in your visitor’s cache you can do so by inserting the following three tags:<META HTTP-EQUIV=”expires” CONTENT=”0″>
<META HTTP-EQUIV=”Pragma” CONTENT=”no-cache”>
<META HTTP-EQUIV=”Cache-Control” CONTENT=”no-cache”>Why would you want a page not to be cached? If your site is updated frequently and you always want your visitors to see the newest content/changes, or if you want to ensure that a new banner is loaded each time from your server when a page is accessed, you’ll want to use the tags above.
A quick note here on banner caching: In addition to using the tags above, you’ll want to append random numbers at the end of the tag calling the image.
Rating Your Content.
By using the rating META tag on your site, you can specify the appropriateness of your web site for kids. The tag looks like this:<META name=”rating” content=”general”>
In addition to the general rating, you can use three others. They are:mature
restricted
14 years
Misc. Tags
Below I’ve listed several other popular tags that you may have seen around the web.
The generator META tag is used to specify what program was used to create your web site. Many HTML editing tools automatically insert this so that a company can gauge their market penetration. The tag looks like this:
<META name=”generator” content=”program name and version”>
The author tag is used to identify the author of a page. Simply replace “author’s name” with your name or email address.
<META name=”author” content=”author’s name”>
The copyright tag identifies the individual or company that holds the copyright to a particular page. This is what it looks like:<META name=”copyright” content=”This page and all its contents are copyright 2003 by Lee Windsor. All Rights Reserved.”>
I hope this article gave you some insight into the usage of Meta Tags and how they can benefit your day to day business.
Article written by Lee
-
Mirroring Adult Sites – Stage One.
In this next series of tutorials I will be exploring the benefits of utilizing your existing content to build more sites in the least amount of time possible, in fact, after you have completed the steps in this tutorial series you should be able to build over 20 types of site within 5 minutes using a single set of 50 pictures.
So, onto the start of our tutorial.
Stage one in this tutorial is something we have ALL done before, so what you need to do is this…
Build a 50 pic free site, this is using a lot more content than a ‘standard’ free site however, what we are actually going to be making is a set of AVS sites and several TGP galleries, along with some SE pages and also some links list mirrored pages using this set of 50 images by building just ONE site! Sounds impossible? It isn’t… read on….
Your site should have the following on it:
1) Warning Page (index.html)
2) Menu Page (menu.html)
3) Gallery Pages (5 galleries of ten pictures called gallery1.html, gallery2.html etc)
4) HTML Large image pages x 50 (picpage1.html, picpage2.html, etc.)
5) Multi Site FPA (fpa.html)Now lets break these individual pages down into sets of instructions for each:
Warning Page.
This should have your standard warning text placed on it, along with an enter AND an exit link. The ‘enter’ link should link to your Multi Site FPA and the ‘exit’ link should go to a program such as the ARS Discreet Browser tour page.Menu Page.
This should be a page containing an odd sized banner, links to your 5 gallery pages, plus text links at the bottom of the page ideally, these text links should be in the same style as the niche tables we created for the surfer trap except they should only contain 4 cells instead of 8. These links should go to a different ‘niche’ as the one you are building your current site for and, link to the existing FPA’s of your surfer trap.Gallery Pages.
On your gallery pages, ALL of the thumbnails should be linked to the relevant HTML page with a text link at the top and at the bottom of the HTML page (No Banners are to be used on the gallery pages!) Also, the file names of the images should be pic1.jpg, pic2.jpg, etc for the full sized images and, thumb1.jpg, thumb2.jpg etc for the thumb nailed images. your images MUST be named this way!!Multi Site FPA.
This should link to the individual FPA’s that you should already have on your server if you followed the surfer trap tutorial series (If you did not create this surfer trap the tutorials can be found at this link) as well as linking to the Single Site FPA’s this should also have a ‘no thank you’ link which goes to your Menu Page.Images.
You need to have 50 images, you also need to have 50 thumbnails for the content you will be using on this site. I usually select my content by the niche I am building for, rename the images using The Rename then, once renamed I use Thumbnailer from Smaller Animal to create the thumbnails for each of the renamed images. This will give you 50 full sized pictures with 50 thumbnails named respectively for the larger image.They are the basics, now onto the good stuff…
Once you have created these pages you need to create some folders on your Hard Drive which will be the SAME structure you will have on your server. This folder structure should look somewhat like this once you have saved each of the pages we have just created into their respective sub folders:
FreeSite/index.html
FreeSite/AVS/
FreeSite/FPA/fpa.html
FreeSite/Galleries/gallery1.html, gallery2.html, gallery3.html, etc, etc.
FreeSite/Images/pic1.jpg, etc.
FreeSite/Images/Thumbs/thumb1.jpg, etc.
FreeSite/LinkList/
FreeSite/Menu/menu.html
FreeSite/PicPage/picpage1.html, picpage2.html, etc.
FreeSite/Recips/
FreeSite/Engine/
FreeSite/TGP/This will give you 5 folders with HTML pages in them, one folder with the full sized images, one with thumbnails in it and five empty folders.
At this point we will end the first stage in this tutorial as this should take you a couple of hours to complete.
Article written by Le
-
Golden Rules For Finding A New Domain Name
We all know by now that domain names are being registered at an unbelievable rate and, whilst the vast majority of ‘decent’ domain names have already been registered there are still some god domains to be registered and, this article will give you some insight into how you can choose an effective domain for your business purposes – regardless of what they are.
Avoid Play On Words.
Whilst sitting at a bar you come up with an idea for a domain www.4play.com and, at the time this might seem like a great domain name to buy however, before you head to your favorite register and purchase the domain stop to think about the long term implications.Let me explain this a little more using the example www.4play.com lets think about this, every time you mention the domain in a conversation people are more likely to head across to www.foreplay.com or www.fourplay.com first as a type-in. This is also true of the other abbreviation styles of ‘internet slang’ remember the days of the ‘dot com’ registrations, you know domains such as www.dotsex.com looking back now, these seem ridiculous to have been registered however, at the time they were popular but they died their death years ago.
Think Investment.
A good ‘commercial’ domain must be able to distinguish itself from the competition, there are several ways to achieve this for example:Consider Your Target Audience.
Aim your domain at a specific, yet broad market audience. use tools to narrow down what your customers (surfers) are looking for, narrow this list down to a select few domains and then, narrow the list down some more.Follow Trends Or… Create Them.
If you are serious about picking a good domain name or two then be prepared to invest the time required to get a good domain name. Research the latest trends on the internet, see what products or services are ‘hot’ and will be around long term and also see which domains are just a flash in the pan.A good example of ‘long term’ domains would be www.europeanwebmasters.com which i registered several years ago when, in all honesty, the foreign markets were not even thought about however, you cant go to any forum nowadays without someone asking about the international marketplace.
Act On A Whim.
In complete contrast to my opening statement in this article, if you think you have a solid business idea, act on it, the chances are someone else will also think of the same idea as you and, if you don’t get the domain name first, they will.Alternative Buying.
So you have decided that you do want to buy www.4play.com before you make your purchase have a look at what other variants of this domain are available, for example, you might like to check registrations of www.4-play.com, www.for-play.com, www.forplay.com, etc etc.If you have a great business idea, make sure you have all of your bases covered, just because you are starting a new craze, that doesn’t mean the domains will be available for registration tomorrow or next week.
By purchasing all the variants of the high quality domain you have thought of you are, in effect, eliminating all of the competition you could face long term.
Don’t Cyber-Squat.
If you are a serious domain buyer, avoid tailgating on other peoples domain names unless of course, it has enormous potential for example, if someone has registered a generic domain such as www.123456.com but failed to register www.123-456.com why not register the available domain? You are not impeding on anyone’s property rights and, you might benefit from some mis-typed traffic at the same time. As with any type of mis-typed domain, before you register it, seek legal advice, a few dollars spent before registering the domain could save you thousands afterwards.Fools Rush In.
Don’t automatically buy the first domain name you think of, think on it some more, sleep on it if you have to, ask your family and friends on their opinions. Although the really good domain names have virtually almost all gone, its better to carefully think out each and every domain name purchase you make and save yourself some money long term than to rush in and buy a domain that wont be any use and have to register a new domain to take the place of the first.In addition to the above don’t sit on a really good domain name idea forever because, forever comes a lot sooner than you may think.
Hopefully this article has given you some useful information in respect of registering new domain names and you can put this information to good practice when buying domains. Article written by Lee
-
What On Earth Is CGI?
Let’s unlock a little bit of the mystery about something called CGI. If it helps any, CGI means Common Gateway Interface.
This is a method which is used to swap data between the server (the hardware and software that actually allows you to get to your web site) and a web client (your browser). CGI is actually a set of standards where a program or script (a series of commands) can send data back to the web server where it can be processed.
Typically, you use standard HTML tags to get data from a person, then pass that data to a CGI routine. The CGI routine then performs some action with the data.
Some of the more common uses of CGI include:
Guest books – The CGI routine is responsible for accepting the data, ensuring it is valid, sending an email acknowledgement back to the writer, perhaps sending an email to the webmaster, and creating the guest book entry itself.
Email Forms – A simple CGI forms routine just formats the data into an email and sends it back to the webmaster. More complicated routines can maintain a database, send an acknowledgement and validate data.
Mailing List Maintenance – These routines allow visitors to subscribe and unsubscribe from a mailing list. In this case, the CGI routine maintains a database of email addresses, and the better ones send acknowledgements back to the visitor and webmaster.
A CGI routine can be anything which understands the CGI standard. A popular CGI language is called PERL, which is simple to understand and use (well, compared to other languages). PERL is a scripting language, which means each time a PERL routine is executed the web server must examine the PERL commands to determine what to do. In contrast, a compiled language such as C++ or Visual Basic can be directly executed, which is faster and more efficient.
Okay, in a nutshell (and greatly simplified), here’s how it works:
1) You (the webmaster) specify a form tag which includes the name of the CGI routine.
2) You create HTML tags which retrieves data from your visitors.
3) Each of the input tags includes a variable name. The data which is retrieved from the visitor (or directly set if the tag includes the “hidden” qualifier) is placed in the variable name.
4) When the visitor presses the “submit” button, the CGI routine which was specified in the form tag is executed. At this time, the CGI routine “takes control”, meaning the browser essentially is waiting for it to complete.
5) This CGI routine can get data from variable names. It retrieves the data and does whatever action is required.
6) When the CGI routine finishes, it returns control back to the browser.
Some important things to remember about CGI routines:
You can install CGI routines on your own site if your host allows it http://www.webair.com is an example of a web host which allows for CGI routines. Some web hosts do not allow you to install your own routines but do provide some pre-written ones to you. If these are not sufficient for your needs, you can find a remote hosting service to provide the necessary functions.
Generally, if you install your own routines they must be installed in the cgi-bin directory of your site. This is a special location which allows scripts and programs to be executed.
CGI routines work best on Apache-style servers. Windows NT and Windows 2000 does support CGI, but it tends to be slow and problematic.
If you use a remote hosting service, you must remember that although they appear to be giving you this for free, you are actually paying a price. Usually they want to display advertisements, although some of them actually take visitors away from your site.
When you write a CGI routine, you have the choice of a scripting language like PERL or a compiled language such as C++ or Visual Basic. Anything which can execute on the web server is acceptable.
I hope this short introduction to CGI has cleared up some of the mystery.
Article written by Lee
Premium Sponsors
Categories
- 2257
- Billing Solutions
- Blogging
- Branding
- Content
- Domain Names
- Employment
- Forms & Contracts
- General
- Hosting
- Link Lists
- Opt-in Mail
- Paid Traffic
- Pic Posts
- Promotion
- Scripts
- Search Engine Optimization
- Sponsors
- TGP
- Traffic
- Tutorials
- Viral Marketing
- WebDesign
- Writing