-
Converting Italian Adult Traffic – The Niche Paysites That Work
Continuing with our article series of country specific traffic and which niches work for the various global markets in this article we will take a look at some of the most complicated traffic to ‘work’ Italian Adult Surfers. The reason I say most complicated is for the simple reason that, to date there are very few Italian paysites this makes it harder for us as webmasters to tap into these markets especially if we ourselves, do not know what the Italian surfer is after. That said, lets get on with the article.
Italian Traffic – Quick Analysis.
As already mentioned surfers from Italy are hard to pre-qualify given that there are very few sites catering to this European market at the present time, this means that there are no sources of background information to look at or, statistical analysis’s available from other paysites.Italian Adult Surfers – The Niches.
For one of the most affluent international markets going it comes as a surprise to see that there are almost no localized pay sites for the Italian market this made our initial filtering of the Italian traffic much harder opting for translated free sites over paysite tour pages to send the traffic to itself then, once they hit the free sites either choosing to send them back into our central hub or, to the US version pay site of the niche free site they were visiting. That said here are the results from the previous 3 (three) months of traffic that we observed.Ebony.
The Ebony niche would appear to be the most consistent converting niche on Italian traffic however, given that almost all of the niches we used on the Italian surfers were quite evenly spread for sales (Ebony was only 5 sales in front) this, I am sure is not a good indicator and, likewise with the Japanese and Chinese traffic, this is an area of international adult marketing that should ideally be re-visited at a later day.For Women.
Even more surprising than the fact there are very few localized paysites for Italy was the fact that the ‘For Women’ niche converted just as well as the other niches we used for our Italian traffic, of course, this at first would seem to indicate that the vast majority of surfers we had on our sites from Italy were female however, as we all know, the Straight male niche is big in gay so, there is a chance the sales we got from our Italian traffic to the For Women niche paysites we used were equally male and female.Softcore General.
(Softcore Adult Tours) The other strange thing we noticed was that paysites we offered to our Italian surfers that were Hardcore in nature didn’t convert as well as the paysites that had softcore tours, this would lend itself to the fact that Italian porn surfers are not looking for hardcore – quite different to most other country traffic sources.Tranny.
The transsexual niche paysites that we offered to the Italian surfers also had some good results again, this is strange given that almost every other countries surfer we sent to a tranny site didn’t convert. One other thing that comes up with this and, given the fact that the for women niche paysites we used had good results would be that perhaps the Italian surfers are interested in the more obscure niches available on the adult internet.Italian Adult Traffic – An Overview.
All in all, as stated at the beginning of this article the Italian surfers would certainly appear at first glance to be more varied and obscure in their sexual preferences than other countries whom appear to have clear cut, well defined ‘types’ of site that interest them.I think as mentioned above Italian traffic needs to be looked at in more depth in a future article as, to my surprise the traffic didn’t work on the niches that previously converted well for the same amounts and quality of traffic.
Article written by Lee
-
How To Become A Gay Porn Star
A quick look across the gay side of the adult industry will show it is lacking in one thing that its straight counterpart has in an abundance, amateur male models with their own adult porn sites. With that said, if you wanted to tap into this market how could you go about doing so and, more importantly, could you make money from working on the other side of the camera for a change? This is what we will look at in this article.
Becoming A Porn Star – The Basics.
Any web cam model will tell you, to have your own porn site will take a lot of persistence, time and, more importantly, personality, not least from the webmaster side of the industry however, in my opinion I think the pressure that a webmaster may face breaking into the gay male porn side of the adult industry might just be a bit harsher than what the bubbly web cam girls have to contend with, not only because as a male you will be appearing in content but, because your primary traffic base, whether you like it or not, will be a mixture of women and gay males.Male Amateur Sites – Getting Ready.
Before you start to even put your first ideas down on paper you need to do one thing, spend some time to research what is needed in order to start your own amateur porn site. In doing so, you will see that not only is everything in the two paragraphs above true but, you will also learn a little about yourself and, more importantly, about other webmasters and your surfers. Now you have the fundamental questions you need to ask yourself these are, What equipment do you need to run a male amateur site? What amount of investment in both time and money do you need to put into building your site? How much will you charge your surfers for access to your site? and, Is this going to be a long term commitment from yourself that could be possibly better spent elsewhere? Answer those questions as honestly as you can before proceeding and furthermore, think long and hard about the answers.Gay Amateur Web Sites – The Alternatives.
So lets stop for a moment and consider that you have realized you do not want to build and maintain your own male amateur site but, you would still like to be male porn material, where do you go from here? Well there are companies who can put you on their books and give you work from time to time such as http://www.redbagproductions.com a male modeling agency for the adult industry, this will in all likelihood be the place for you to start your search, find out how many places there are that can get you talent work and, what type of modeling work you will be required to do.Becoming A Gay Porn Star – An Overview.
With sites online such as Every Stag and the slew of other male modeling agencies finding a medium to start your modeling career wont be hard but, with this career comes uncertain hours, hard work (in more ways than one) and, to some extent, fame amongst the gay adult porn surfer. If this is something that you feel you can devote the time and energy towards and, are able to cope with the voyeuristic side of your personality then go for it, if however, you are still unsure after reading this brief article, perhaps becoming a gay pornstar isn’t for you?Article written by Lee
-
Bandwidth Explained
Bandwidth is the total amount of data that can be sent in a given time between two computer devices. The more bandwidth that is available, the faster the server.
Any webmaster expecting a decent amount of traffic to their adult site will require a web hosting package that includes a large amount of bandwidth. This is so important, especially with the growth of your online business and, ultimately your sites. The more bandwidth your server has, the larger the number of surfers who will be able to view it at the same time, and the access it quickly will be. If you don’t have enough bandwidth, surfers will not be able to access your site as quickly, and that may turn them off which in turn, will mean they will leave your site.
For this reason alone, it is important to select a hosting company that can offer you a great deal of bandwidth. As an example, larger hosting providers will have T1 lines or fiber-optic relays to access the Internet; these will provide a fair amount bandwidth. Another way is to get a dedicated server which, in turn, gives you exclusive access to your server’s connectivity instead of sharing it with others, as such allowing for maximum hardware performance.
To calculate your bandwidth needs, you must know how large each page on your site is, including the graphics and any script usage you may have. Then, you multiply that by the number of views you expect the site to get every month.
For example, say you have three 5k images on your page and a 2k HTML file – you would have 17k of data on that page. Multiply that by your expected page views (let’s say in this case it is 100,000 per month), and you get 1.7 G of data to be transferred that month for that page alone. Now calculate this for each page, and you will know approximately how much bandwidth your entire site requires.
The best way of using bandwidth efficiently is to keep the size of your html pages low. In other words, ensure your HTML programming is adequate enough to use minimal amounts of coding for the purpose you want and, that your photos and graphics are small. To reduce photo file sizes you should always use JPEG format, which can reduce files up to 5% of its original size. Make sure to use the GIF format for graphics, as opposed to TIFFs or BMPs, which are generally much larger in file size.
If you attach URLs to your IMG SRC that link to another person’s images without their permission, this is known throughout the online industry as hotlinking which, costs the person you are linking the image of money and not yourself. For this reason, hotlinking, is looked upon dimly.
The unfortunate truth is that hotlinking is rife in the online industry. However, lets not let that deter you, by utilizing a file called .htaccess on your server, you can prevent other dishonest webmasters hotlinking your images.
As with most things in this industry, you need to shop around to find the best prices available to you. However, that said, as a general rule of thumb, a gig of transfer can cost between $1 and $5 these are usually thought to be good prices for a gig of bandwidth. You can also get certain hosting packages that have a specific amount of bandwidth included in the price, however, the one draw back of these types of deals is that, if you go over that limit, you will either need to pay and excess bandwidth usage fee or, upgrade your hosting plan.
Article Written By Lee
-
Converting Japanese Traffic – The Niche Paysites That Work
Up to this point we have only looked at the European traffic sources and what niches convert for them however, we will now take a look at the Japanese specific adult surfers and, see just what makes them tick when they come to look online for porn.
Japanese Adult Traffic – Dispelling The Myths.
Contrary to popular beliefs Japanese porn surfers are not all looking for Bukakke or Hentai orientated adult sites in fact, the results we saw far from backed this up. Also, many webmasters believe Japanese traffic is worthless again, from our results this is simply not the case.Japanese Adult Traffic – The Niches.
We were extremely pleased with the results we found from the Japanese traffic we got to our hub sites in fact, we altered the type of sponsors we used on our Japanese hubs so that we could see just how well this type of international adult traffic converted and, i think you will see the results are worthy of you sending your Japanese adult traffic to sites that do not encompass dialers as the only means of revenue for those surfers after reading this article.Asian.
We set up a small niche specific ‘Asian’ hub trap that we could use to primarily filter our Japanese traffic through and, as we expected, very little of the traffic actually purchased memberships to these sites that were supposedly made specifically for Japanese surfers instead, all but 2 sales came from sites outside of this ‘Asian’ specific hub.Ebony.
By far our best converting niche on Japanese traffic, the sales figures we saw from a join perspective were enough to warrant that we altered the rest of our hub site to ensure maximum exposure of the Ebony niche sites we were using to get them in front of the Japanese surfer as quickly as possible.Anime / Hentai / Toon.
Again another surprise, the sales we saw on these niche paysites were lower overall when compared to sites in completely different niches what was also surprising about this is that the vast majority of adult webmasters will actively push their Japanese traffic to sites in this niche.Bukakke.
Finding a Japanese Bukakke sponsors was impossible for us, instead, we opted to send the traffic to a US only paysite and, as expected, we had no sales for this niche on the Japanese traffic we saw flowing through our sites. As mentioned above with the Anime niche, this is often the first type of site adult webmasters will send their Japanese speaking traffic too and, as we thought, this is wrong.Teen.
The teen niche converted really well for us, not as well as the ebony niche did but non the less, we received a steady amount of signups each month, this steady signup rate was also added to by recurring incomes from the previous months signups towards the end of our three month test period.Gay.
As with the Bukakke niche paysite we received absolutely no sales to the Japanese gay paysite we used in our hub site this was surprising as even with the other international traffic we had gotten at least one sale a month but, alas, it seems the vast majority of Japanese surfers do not want to see naked men online.Amateur.
Specifically amateur web cam sites converted for us on our Japanese traffic and again, this was good because of the rebills at the end of the month in fact, we still have some rebills continuing now some 5 months after our test period ended.Japanese Adult Surfers – An Overview.
As expected at the start of the test period, Japanese adult surfers are not primarily interested in Bukakke and Anime sites in fact, it would appear they were primarily interested in the Ebony paysites we had to offer them. This is interesting in itself because, when offered ‘Asian’ niche paysites we only achieved 2 sales a month compared to the vast amount of sales to the Ebony niche, I think it might be worthwhile re-visiting Japanese traffic at a later date so we can evaluate exactly what preferences they have over time.One other thing we discovered when testing the Japanese traffic was that, as we have been saying for a long time, Japanese surfers do hold credit / debit cards and, will use them online if their needs can be matched. This is good as if, like us, you use recurring sponsors on this type of traffic you will see some good long term residual income.
Article written by Lee
-
How To Choose A Legal Content Provider
How To Choose A Legal Content Provider.
If you spend anytime in this business no matter in what capacity, you are going to hear about how important using legal content is. Legal content is content that you have specific permission or license to use on your sites. Permission can come from your sponsor who offers you free content to promote their site, as long as certain criteria is followed. It can come from the producer of the images if he/she is a friend of yours, though I would still advise you obtain a license from them anyway. And the third way of course is to purchase content from one of the myriad of content providers out there. It is the third way I am going to discuss in this article.
Being the intelligent Webmaster you are, you have decided to purchase some legal, fresh content for your sites. Makes no difference what type of site(s) you run, free sites, TGP’s, pay sites etc. fresh, unique content is always a plus. So you begin your search for the content you are in need of. You are going to find that in most all cases you are going to find a LOT of content providers that offer what you are after. You can go to any resource board and get a list of providers that covers page after page, some more detailed in information than others. Some names you will have heard of before and some you will have never heard of, so how do you choose? Here are some of the basic questions you should ask yourself:
Do they carry the type of content I need. Seems simple enough, but if you are looking for Asian lesbian images, no sense wasting your time on a provider that specializes in Gay content. The provider’s site should be laid out that you can easily assess what they offer with the first 2 pages of their site.
What am I using the content for? This becomes very important when selecting what image packages you buy. If you are going to use the content for free sites or TGP’s where the main goal is to get them off your site and on to your sponsor, then quality is not going to be as important as price. If you plan to utilize them in a pay situation, such as AVS or members site, quality should be your first consideration.
What price am I willing to pay? By knowing what you are using the images for, you have a fair idea of what they are worth to you. Do not be fooled into thinking that buying a MEGA disc for .10 an image is a killer deal. It could be, but if the image CD only contains 100 images that you can utilize and the rest are trash, what is the point? Much better to pay a higher price per image to get exactly the kind and quality you want. Shop around of course; per image prices can vary greatly per provider.
How do I know these guys are legit? Excellent question! J More than ever these days you cannot swing a cat and not hit 100 content providers. Every college guy and his brother with a digital camera and a girlfriend think they can make a quick buck in the Adult market. I could very easily list over a dozen so called content providers right now, that have come on with incredible deals only to be gone in less than 3 months. Then the Webmaster finds out the license he has for the images are not worth the paper they printed them on. This is one of the easiest areas for a Webmaster to get ripped off in. So what to do? Research my friends, research!
a. Ask the provider for copies of the 2257’s they are required by law to have on premises. Any reputable provider will supply these to you; many include them with the license even if you don’t ask for them. Any provider that bulks at doing so upon request should be taken off your shopping list.
b. Read over the license agreement very carefully, before you buy. Not every license is the same, some allow you a certain percent of images for promotional use, such as creating banners etc. some prohibit it. How many sites and domains you can use the images on vary, as does the price they charge to add or transfer a domain or license. Remember the license is a legal document and should be treated as such.
c. Ask around! Reputation is so very important in this business and the good providers know it. Don’t be shy about asking the provider directly for references, emailing fellow Webmaster’s and even posting for comments on the boards. Make sure you get a good cross span of answers from all sources, so you can quickly weed out anyone that is deliberately trying to make a provider look bad. This could be their competition or a Webmaster that tried to use the content illegally and got busted. So make sure you ask people your respect and trust. Find out not only about how they’re prices stack up, but also about their customer service after the deal is done. And NEVER assume just because a provider is listed on your favorite resource board that they are legit. Though most resources will try and screen people they list, there is no guarantee. There is no substitute for researching it for yourself.
Following these simple guidelines will save you a lot of grief in the long run. It may take a day or two for you to get the feedback you need, but it could save you from taking down hundreds of galleries later on. Or worse, paying for a product you never receive. And trust me, that happens.
Article written by Bestat.
-
Records Keeping Compliance Checklist for European Content Providers
More and more European Content Producers are choosing to do business with American. webmasters. While citizens of foreign countries cannot be compelled to comply with United States’ restrictions on the creation of adult material, business realities are forcing foreign content producers to consider voluntary compliance. American webmasters, painfully cognizant of the increasing need to focus on legal compliance, consistently reject foreign content that is not produced in compliance with 18 U.S.C. §2257. Non-compliant content not only increases the risk that an underage model could slip through, but failure to strictly comply is itself a federal felony, exposing those involved to a 2-year prison term. Given the substantial compliance motivations involved, foreign content producers are expected to adopt the U.S. requirements as the global standard for creation of sexually explicit imagery. The following constitutes a bare minimum checklist for compliance with the requirements of Section 2257:
1) Assume that all erotic images require Section 2257 compliance: While the law only applies to actual “sexually explicit activity,” it is ill-advised for the content producer or the webmaster to attempt to guess which images require compliance, and which can be safely distributed without compliance. Since child pornography does not require the depiction of sexual activity to meet the federal definition, such distinctions can be risky business. And, in any event, a release given by a minor normally is not enforceable.
2) Obtain a signed compliance form created by a competent attorney: Section 2257 requires that certain records be created containing certain information. The right form is the best place to start.
3) Obtain, at a minimum, the following information from each model:
a. Date Of Birth
b. Legal Name
c. All other names, aliases, nick names, stage names, and maiden names
d. Social Security Number
e. Copy of Government-Issued Identification containing a picture; preferably 2 pieces of identification. Note the requirement that the producer actually examine the identification document, not just the copies.
f. Address, phone and other contact information
g. The model’s signature
4) Require the model to execute a binding model release prepared by a competent attorney. The images are only as legal as the model release backing them up. If all relevant rights have not been transferred and released by a valid model release, both the webmaster and the content producer are subject to claims once the content is displayed on a Web site.
5) Maintain the records so that they are cross-indexed by the models’ legal names and stage names and by web page. Alternatively, provide copies of all records to the webmaster if the webmaster will act as Records Custodian. You need to discuss the particulars of this with an attorney, because each circumstance may be unique.
6) The Records Custodian should maintain an off-site backup copy of the records: What happens if there is a fire or a government seizure?
7) Include a conspicuous records custodian disclosure on all CD’s / DVD’s containing erotic imagery, including the full legal name of the custodian and physical address where the records are kept. The disclosure should also certify that all models are over the age of 18, and include the date when the content was first created, published or republished. Placement of the disclosure on the product should be reviewed by an attorney.
Only through strict compliance with the mandates of Section 2257 will American webmasters fully embrace content produced overseas. The right compliance procedure will open profitable markets for foreign content producers, and result in a wider variety of adult content for both webmasters and consumers.
Article written by Lawrence Walters
-
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
-
Building A Surfer Trap – Stage 5
So we hit stage 5 in this surfer trap tutorial.
It was brought to my attention this morning that we never added any ALT tags to our single FPA link so, in a change to the planned tutorial I am going to touch on this stage as, once the search engines get to our surfer traps this is going to be a crucial aspect on how highly we get ranked.
So what’s next?
Ok, now what you have to do is go back to manually editing the FPA’s (All of them!)
What you need to do is this…
Take the Multi-Site FPA first then, on ALL of the links that lead to the single site FPA’s you need to add the ALT tag. Again, in the same way as we did originally however, instead of using this tag on the images we will use this on the actual TEXT of the link so, for example the link which may be:
‘Voyeur Porn’ leading to the FPA you have for the Voyeur niche in the HTML coding will already look like this:
<a href=”mydomain.com”>Voyeur Porn</a>
Will get turned into:
<a href=”mydomain.com” ALT=”More Niche Related Keywords”>Voyeur Porn</a>
The reason we are going back over these links now and not earlier on is because you should hopefully have started to get a small amount of traffic from your counter impressions. These counters are virtually ALWAYS being crawled by the search engines due to the amount of people linking to them so, by optimizing our site at this stage, it makes it less work in getting into the search engines.
One other thing that we can now start to do (as we did a couple of stages back) is to create some more HTML pages with some tables on them, however, these will be HTML pages on their own with no images on them. Again however, you should make them 4 columns across and two rows high.
What you want to add into these tables are NICHE links so for example, taking the TEEN niche we would make eight links like:
Teen Sex
College Girls
Erotic Teens
Teen Porn
Etc
Etc
Etc
Etc…You should do this for each of the MAIN niches so you would have a table for Teen, Gay, Mature, Asian, Ebony, Fetish and one for General and again, these should link to the NICHE FPA’s that you already have created.
These tables will be used for another console on our surfer trap however, before we implement this console we are going to have some fun with them.
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
-
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