• Why Have More Than One Index Page?

    Date: 2011.02.21 | Category: Search Engine Optimization | Response: 0

    The first thing you should do when you start designing a web site is to create an index page. You would think that this is a basic knowledge in web design, but I still encounter web sites that are lacking in this.

    If there’s no index page, and if the web host server has not set a directory access limitation, any visitor will see a directory listing of all the images, html pages, CGI-scripts, and other files in the directory. Everything will then be accessible for reading and downloading, and the CGI-scripts will also be executable!

    So, for a basic security it is most important to have an index page in all your directories, whether they contain only pictures or garbage. In the directories that are private or containing things other then HTML pages, the index pages need only to print out a text like “access forbidden” or something in that spirit. In the directories containing one or more HTML pages, one of the pages must be named “index.html,” whether it is a page with real content or for security reason.

    If you have a directory specifically for CGI-scripts, it will run a higher security risk, because most of the times these directories are called CGI-bin, or a variant of that, and anyone who is after your scripts is undoubtedly familiar with this and can access the directory by typing the directory name in the targeted site’s URL, if it’s not properly protected by an index page. Imagine the horror when someone uses your mailing list program to Spam all your subscribers or decides to sell your email list. It’s quite a big business in selling email lists. A large email list is worth thousands of US dollars nowadays.

    I could have done all these things if I had any bad intentions when I accidentally bumped into an unprotected site. Actually, I bumped into two unprotected, huge subscribers lists in the last two months, which prompted me to write this article. But of course, I did the proper thing and emailed the web sites’ webmasters about their oversight. You would think that these professional looking and operating web sites with email lists of respectively 8,000 and 15,000 subscribers would know better.

    Even if your site is made by a web design company, make sure all your directories are protected. In fact, one of the two unfortunate web sites I uncovered is a web design company. So, check out your site for this unnecessary security gap, right now.

    Article written by Lee

  • Fonts – Everything You Wanted To Know

    Date: 2011.02.22 | Category: WebDesign | Response: 0

    All web browsers use standard fonts. Mostly two types, one for proportional, one for mono spaced fonts. Proportional (or variable width) characters adapt in width, an “m” uses more space than an “i”. Mono spaced (or fixed width) characters are all equal in width, typewriter style.

    Most browsers use “Times” for proportional fonts. This font was originally developed by the London Times news paper. “Courier” is used for mono spaced. This was a very popular font used for mechanical typewriters. Both are normally set to 12 points (1/72nd of an inch).

    Serif And Sans Serif.

    Both these fonts are so called serif fonts. The French word serif indicates the little strokes at the outer ends of the characters. They are very old, you see them in old gothic handwriting, or Greek and Roman buildings. Partly used for ornamental reasons, partly because the characters are easier distinguished.
    It’s a little odd they are used on computer screens. These are by nature quite coarse, which makes serif characters quite grainy and ugly. Sans serif characters generally display a lot better on screens. Sans serif literally translates to “without stroke”. Probably the most popular sans serif font is Helvetica or derivatives like Windows’ Arial.

    <FONT FACE=”Arial”>…</FONT>

    The FONT Tag.

    The html tag for fonts is a somewhat crude instrument. Most word processors let you use any font you like, as long as it’s on your system. And that’s the first big problem in web browsers. You have no control over other systems’ fonts. So you will have to choose a font which is likely to be on any system out there.

    <FONT FACE=”Arial,Helvetica,Sansserif”>…</FONT>

    Typeface.

    The font tag accommodates this by letting you specify several fonts in the FACE attribute. If the first one is not available, the second is used, and so on. The set above is often used. Arial is on all Windows systems, Helvetica on Macintosh, Sans serif on UNIX. The same is true for mono spaced fonts in the line below.

    <FONT FACE=”Courier New,Courier,Mono”>…</FONT>

    Size.

    Word processors let you specify font sizes in points exactly. No such luck in web browsers. There are seven sizes to choose from, denoted 1 (smallest) through 7 (largest). If this SIZE attribute is not used it defaults to 3. I think the default 12 point size is a bit big, so I use 2 for size, which gives you about a 10 point character. Some browsers let you set the overall font size smaller or larger. Which makes this issue even more awkward.

    <FONT SIZE=”2″>…</FONT>

    There is a nasty bug in some browsers. When using a block of text with size 1, the last line skips a line. This bug can be squashed by putting a <BR> tag immediately after the block of text. If your browser has this bug it will show in the second text below.

    There is a nasty bug in some browsers. When using a block of text with size 1, the last line skips a line. This bug can be squashed by putting a <BR> tag immediately after the block of text (with break).

    Color.

    Fonts can have any color you like, much like the colors in the body tag. Keep readability always in mind, avoid clashing colors and little contrast. You can create nice shading effects. But don’t make a Christmas tree out of your page by using too many colors.

    <FONT COLOR=”red”>…</FONT>

    Style Sheets.

    There is a chance all this soon will be replaced by style sheets. They do let you specify exact point sizes, even use downloadable fonts. But for now I would advise against that, since not all current browsers understand them. You could however use a combination of both, should you want to.

    Article written by Lee

  • Undeveloped Domains – Put Them To Use

    Date: 2011.02.24 | Category: Domain Names | Response: 0

    Often when searching for new domain names, i come across what should, in theory be a golden opportunity only to find, the domain itself has already been registered and, whilst this in itself is annoying, what is even more annoying is that the domain 404’s when typed into the browser window.

    The mere fact that someone else, a webmaster no less, has thought about purchasing the same domain as what you may have means there is already value in that domain and, more importantly, you have potentially lost a sale.

    So how can we capitalize on this potential lost traffic from the off-set? That is what we will look at in this brief article.

    The first thing we need to do in order to start making some additional potential profit from our domain is to create a ‘generic’ holding page until such time that we have the time or, funding, to develop the site we had intended to place on our new domain name.

    This holding page can take many forms depending on the type of traffic you are hoping to target with the domain itself. Ideally, you will want to have as much choice for the surfer (or webmaster) on this holding page as you can so, you need to assess the nest types of sites to use, the best use of the traffic no matter how small it could be and, more importantly, the best way to maximize your sales potential.

    One good way of doing this is to split the page into three sections, two equal sized sections at the top portion of the page and, one smaller portion towards the very base of the page designed, almost like a footer.

    In the two top portions you should equally distribute both surfer orientated and, webmaster orientated links both of which need to be clearly separated.

    For example, the left side of the page take all of your top converting paysites and list them by niche, they don’t have to have fancy or heavy graphics, text links will suffice for now as this is only a ‘temporary’ page.

    On the right hand side of the page place some of your webmaster referral linking codes with a brief description, remembering that not only surfers could hit this page but webmasters themselves.

    On the ‘footer’ portion of the page, the most important section, you should put your contact details, ideally an email address and, if the domain warrants, details of how you can be reached by instant messenger. The reason for the email and instant messenger details is a simple one, if a webmaster REALLY wants the domain that you have, he, or she, might just make you an offer on it and, if they have no way to get in touch with you then, you have just lost an offer on a domain that you might not get around to using for months.

    of course, in addition to utilizing the traffic you have on the domain you can also use this holding page to generate more traffic, for example, placing a banner or button exchange code on the site or, perhaps a counter. The possibilities to generate traffic to these pages are limitless depending on how you use the holding page itself.

    Well, that’s the basics of domain holding pages explained and, hopefully you will have realized that no matter what you plan on doing with your new domains, after your host has added them to your server, the next thing you should do is to create a generic holding page that you can upload into the rot of the domain name and, who knows, you might end up making some money a little sooner from that unused domain name.

    Article written by Lee

  • Converting Chinese Adult Traffic – The Niche Paysites That Work

    Date: 2011.02.21 | Category: Traffic | Response: 0

    Converting Chinese Adult Traffic – The Niche Paysites That Work.

    To date we have looked at most of the types of country specific traffic available to webmasters every day and, more importantly, which niches they convert on. In this article we will finish up our look at the foreign traffic and how profitable it can be with the final main country on the net – China.

    Chinese Adult Surfers – Quick Analysis.

    As with Japanese traffic, most webmasters seem to think that Chinese speaking adult surfers are pretty worthless when it comes to buying porn memberships and this is true – If you do not know what niches to offer your Chinese surfers that said, we found some interesting results given the three (3) month test we had on our Chinese traffic and, the results we observed might just make you change your mind about sending the Chinese surfers you get to your sites off to traffic trades.

    Chinese Porn Surfers – The Niches.

    Because we knew relatively little about the Chinese traffic we had on our sites we decided that, rather send it to a specific language hub site we would send it to our main hub page and, allow the Chinese surfers to filter themselves through to the sites that interested them on their own, to our surprise, only 40% of the traffic we knew was Chinese chose to filter itself to a Chinese specific language hub site, the remainder, choosing to go through our main English hub site.

    Fetish.

    Across all of the niches we offered the surfers, the Fetish niche was the one that converted most consistently month after month and, more than converted, actually retained members once they had signed up to the paysites.

    Gay.

    Unlike the traffic we had that was Japanese a lot of the Chinese traffic that hit our site decided to visit the Gay niche paysites we had to offer them and, there was less than 10% difference between the Fetish and Gay signups we observed month after month. Quite a difference when compared to surfers from Japan and, a pleasant one at that.

    Amateur.

    Specifically teen amateur niche sites or, at least sites that had amateur looking teen modes on the tours also did well on our Chinese traffic however, the conversion ratios for the recurring programs didn’t do as well as what we had expected with most memberships being cancelled within 2 months. Non the less, the Chinese surfers did join and most of them re-billed in excess of 1 month before leaving the site.

    Teen.

    As mentioned above, it would appear that Chinese porn surfers are looking for teen niches again though, the teen paysites we used featured amateur looking teens prominently on the pages so whether this was a choice on the surfers part to join the teen sites or, because we only offered amateur looking teen paysites isn’t known.

    Asian.

    Unlike Japanese surfers, Chinese surfers also joined the Asian niches that were offered up to them and, surprisingly enough, we noticed more signups to English Asian sites than localized Chinese pay sites.

    Chinese Adult Surfers – The Results.

    Overall we were very impressed with how the Chinese traffic we had flowing through our sites both acted and, converted on the sites that we offered them to join, especially since the Japanese traffic we had didn’t seem to like the gay niche sites yet Chinese traffic worked wonderfully on exactly the same gay niche pay sites.

    Across the board I think a revisit of Chinese traffic is needed with more options on our part when it comes to the teen and amateur niches especially just to see if the results we experienced thus far were unique or, are truly indicative of how the Chinese surfer navigates and joins pay sites.

    Article written by Lee

  • Why Go Adult?

    Date: 2011.02.21 | Category: Hosting | Response: 0

    When choosing a hosting company why choose an adult host over a mainstream one?

    Simple, They provide above other things, a better quality of service, affordability and, most importantly, reliability.

    Adult hosts face a variety of technical and support issues, this coupled with the points mentioned above makes them a far superior choice to standard mainstream hosting providers. This is one of the main factors why more and more mainstream internet based companies are now turning to the adult business forum to provide their hosting solutions.

    Mainstream going adult? Yes that’s right, more and more mainstream companies are turning to our industries hosting providers for the fast speeds, security and, reliable infrastructures they can offer after all, adult sites are amongst the most prolific on the internet on average gaining more daily hits to their sites than mainstream websites so, they need to be cost efficient, not only to the hosting companies but, also to their clients, the webmaster.

    Our industry strives on the use of heavy graphics, coupled with streaming media files to secure sales and longevity, this is why the adult hosting companies need to be able to provide not just a single, heavily laden server but tens of them, sometimes even hundreds all producing gigabytes of traffic on a daily basis.

    Adult hosting companies are constantly upgrading their equipment in order to improve not just their servers, connectivity but also the smaller things that are often overlooked by webmasters, hubs, routers, switches and the likes along side the not so technical aspects of running a host, The staff.

    Along with all of this technical equipment they also need to maintain a high level of technical knowledge, after all, not just anyone can install operating systems capable of running multi-million dollar industries. They need the knowledge to maintain, upgrade, repair and sell their services to the best of their capabilities.

    What does this mean to you? Well, we all want to make money and, through the use of faster servers, e-commerce solutions and the technical support your hosting provider can give you, you will be fattening your wallet on a daily, weekly, monthly basis.

    Adult hosting, quite simply, is the crème de la crème of the hosting world, they offer solid, solutions whether you are starting in the adult industry or, operate a mainstream e-commerce site.

    So how do you choose a host that is right for you?

    You need to ask some basic questions of the host and, do your homework. Not only should you find out what hosting solutions they can offer you but, you need to find out what their support service is like, how affordable they are in comparison to other companies who can offer similar or the same service. Whilst on the subject of hosting support, before you sign on the dotted line, give your host a call out of office hours, if they answer, then you can almost be certain they are a good hosting provider.

    Of course, not all hosts will have 24 hour phone support, however, that said, some offer 24 hour icq support, email support and more.

    Another sure fire way to find out if a hosting company is any good is to ask on the heavily traveled webmaster message boards, after all, you are not the only webmaster out there who will have tried this company, if they are no good, someone will know about it and point you in the direction of a reputable host like http://www.webair.com.

    Hopefully, this article will have given you some insight into the world of adult hosting companies and, will assist you in making the right choice of host for your site, whatever type of website you might be hosting.

    Article Written By Lee

  • Favicon.ico – What Does It Do?

    Date: 2011.02.22 | Category: WebDesign | Response: 0

    Favicon.ico is the name of the graphic Internet Explorer 5+ uses in the address bar and when someone views their favorite bookmarks. There should be one beside the address of this page now if you are using IE5+. If you want to see favicon.ico in action among your favorites bookmark our site now by right clicking and selecting ‘Add to favorites’.

    Internet Explorer looks for this file in the same directory as the HTML page currently being displayed, if it cant find favicon.ico it will then display the default Internet Explorer icon in the address bar. As for viewing of favorites, IE will check its temporary folder to see if favicon.ico is there again, if it is not located it will display the default white background with a blue ‘e’ icon.

    For a webmaster there are three main advantages to using the favicon.ico ‘trick’.

    The first, is that it helps to brand your site with a nice little icon that is easy to recognize.

    The second, is that it makes your website more professional.

    The third, is that your entry will stand out in surfers bookmarks over the others. This is especially good as, if you can get a surfer back to your site then you have another chance at making a sale.

    Many internet users have a multitude of site bookmarks so, you need to use favicon.ico to give you an edge. I highly recommend using it and, now I’m going to tell you how.

    First, you will need to create an icon file which is exactly 16 x 16 pixels. If the icon is larger or smaller IE5+ will just ignore it. As for the colors in it, 16 is standard. You can use more colors if you want but, the more colors you use, the larger the .ico file becomes and, the longer it takes to load.

    You now know the standards the favicon.ico file has to be, now to actually create this file you can take one of two routes.

    The first is to convert and existing 16 x 16 BMP or GIF graphic with 16-32 colors into an .ico file using converter software making sure to save it as favicon.ico.

    You know the standards the favicon.ico file has to be, now to actually create favicon.ico . The easiest way of creating a favicon.ico file is to convert an existing 16 X 16 BMP or GIF graphic with 16 – 32 colors into a .ico file using converter software making sure to save it as favicon.ico.

    Once you have created your favicon.ico file all you need to do is to upload it to any directory on your server that contains html pages. This way, when IE5+ searches for favicon.ico it will be bale to find it regardless of which page you are on.

    That’s nearly all the areas of favicon.ico covers apart from, what if you want different icons for different parts of your website? Can this be done? The answer is yes it can. All you have to do is place the following HTML code between the <head> and </head> tags of your web page.

    <LINK REL=”SHORTCUT ICON” HREF=”differenticon.ico”> (SHORTCUT ICON should be kept in uppercase).

    Now when someone adds a web page with that code to their favorites, IE5+ will not look for favicon.ico but will look for differenticon.ico and if it’s there it will display it, if not the default icon will be displayed.

    Using favicon.ico or the SHORTCUT ICON code is nice way to add a unique touch to your site, and of course will result in more repeat visitors than if you were not using it – which is always good for any webmaster.

    Article Written By Le

  • Building Your Brand – Business Basics

    Date: 2011.02.21 | Category: Branding | Response: 0

    Many online businesses have a good solid brand name attached to them already for example, ARS (http://www.adultrevenueservice.com), Webair (http://www.webair.com) and, WEG (http://www.wegcash.com). These companies have worked long and hard to build up their own brand name on the internet and, specifically, in the adult industry where, it almost seems that everyone is out to make a name for themselves so, how do you as a small business owner get a piece of this branding pie?

    Branding Basics.

    The word ‘Brand’ or ‘Branding’ can refer to several items when used as a noun to describe a company name, product, service or, trademark. Branding started centuries ago when cattle ranch owners used to place their unique insignia on their cattle so that surrounding ranch owners knew who the cattle belonged to and, so that the owners of the brand knew if their cattle were being stolen by others.

    Starting The Branding Process.

    From the very first site you build you should start working on your own inimitable brand name or logo, perhaps it will consist of a small logo on top of every page you build or even a simple text link for your sites domains, either way, the one thing that is important in recognizing a brand is being able to place it to a product instantly.

    Building Your Brand Name.

    Now that you have started the branding process how can you continue to grow your businesses brand name or product even further? This is what we will take a look at next.

    Domain Name Registration.

    Buy the domain name that is representative of your ‘brand name’ if your brand is going to be 123pornosex then go and register 123pornosex.com be cautious though, just because you think of a brand name, you should ensure the domain is available to register BEFORE you start using that brand in detail.

    Getting The Word Out.

    This may seem like the hardest of tasks at first but, once you make a start in branding your site or, yourself this is relatively easy to keep up on an ongoing basis.

    Visit the boards, use your tagline as often as possible and, either mention your brand name in the tagline or, link to your brand names website. This is especially easy to do if you run a TGP or some other site that needs to attract webmaster traffic in order for it to succeed.

    Start your own newsletter, this may seem an odd way to build your brand up but, if you name your newsletter the same as your brand name for example you might have a text link saying:

    Join the BRANDNAME Newsletter.

    This keeps the branding process alive and well. The next step you should take it to ensure that the sender address of the email is something like brandname@brandname.com again, even though you have collected the email addresses by sending out mailings from an address like the one above you have more of a chance of your brand name actually staying in the mind of the newsletter recipient.

    In addition to a newsletter, you might also like to consider having a designer make you a logo or button you can use on your site/s this will come in handy for several uses for example, if you own a traffic site you can use this logo as a reciprocal link, you can use it in your signature on message forums and, you can even include it on sites you build.

    You might also like to consider writing articles for other sites to use, usually the sites that publish your articles will place a link or a small bio to you or your site, this is another way to increase the ‘exposure’ of your brand.

    Branding Overview.

    All in all, building a brand name for yourself or your business need not be a hard and tedious task in fact, if you start off almost immediately building up name recognition for you and your sites. Regardless of what type of product, service or site you operate getting your brand name recognized by both webmasters and surfers can lead to a lot of money long term, start now and reap the benefits later in your career.

    Article written by Lee.

  • Adult Search Engine Optimization

    Date: 2011.02.21 | Category: Promotion, Search Engine Optimization | Response: 0

    Gone are the days when adult webmasters could Spam the search engines and get highly trafficked sites within a month of the search engines updating many of the search engines caught onto the adult industry very early on and started changing the way in which they indexed sites they went from meta tag optimized listings to theme indexing to almost every type of search engine optimization method in between.

    Search Engine Optimization Techniques.

    It would seem with the changing times of search engine optimization that there is no longer a single solitary way to get your adult sites listed highly in the search engines but rather a mixture of different adult seo methods being used on a single site ranging from increasing your pagerank, including relevant meta tags and page content to standard adult search engine optimization methods such as getting other popular websites linking to yours but with this comes a new challenge of its own webmasters need to get back to the basics to figure out what worked then and, what will work now so far as adult search engine optimization goes.

    Adult Search Engine Optimization Companies.

    There are many companies currently online that can offer adult webmasters their search engine optimization services however, how do you choose an SEO company that will not only work for you but, is cost effective for your needs, the simple answer is to ask around, there are sites online presently that offer monthly memberships to gain access to their adult seo techniques in the form of articles and tutorials just as their are sites that offer no information whatsoever or, information that, while it worked three years ago, it no longer works in today’s adult seo marketplace. You need to ask for advice from customers who have used adult optimization companies in the past and see how their results improved as well as making sure that what you are actually purchasing is a service that doesn’t just guarantee you improved site rankings but actually guarantees you will see a profit from the money you spent on the optimization services.

    Adult SEO Breakdown.

    Adult search engine optimization companies have only really become apparent in the adult industry over the last 6-12 months however, many well known and respected webmasters have been working on optimizing their adult sites for years and, whilst doing so, they have also achieved a vast knowledge base on how to optimize your adult sites for the search engines, again, ask around on the message forums to find the solution that will best suit your needs and budget and you wont go far wrong, the adult search engine optimization business model is one that in all actuality should change on a regular basis however, as mentioned above some companies are still using the same optimization methods they used three or four years ago, make sure you do your background checks before parting with any money and, most importantly, use the search engines to find their sites in search terms where, if they were any good at all, they would already have first page listings.

    Article written by Lee.

  • Robots.txt – Control The Robots That Crawl Your Sites

    Date: 2011.02.24 | Category: Search Engine Optimization, WebDesign | Response: 0

    By writing a structured text file you can indicate to robots that certain parts of your server are off-limits to some or all robots. It is best explained with an example:

    # robots.txt file for general use on web servers.

    User-agent: webcrawler
    Disallow:

    User-agent: googlebot
    Disallow: /

    User-agent: *
    Disallow: /cgi-bin
    Disallow: /logs
    The first line, starting with ‘#’, specifies a comment.

    The first paragraph specifies that the robot called ‘webcrawler’ has nothing disallowed: it may go anywhere.

    The second paragraph indicates that the robot called ‘googlebot’ has all relative URLs starting with ‘/’ disallowed. Because all relative URL’s on a server start with ‘/’, this means the entire site is closed off.

    The third paragraph indicates that all other robots should not visit URLs starting with /cgi-bin or /log. Note the ‘*’ is a special token, meaning “any other User-agent”; you cannot use wildcard patterns or regular expressions in either User-agent or Disallow lines.

    Two common errors:

    Wildcards are not supported: instead of ‘Disallow: /tmp/*’ just say ‘Disallow: /tmp’.
    You shouldn’t put more than one path on a Disallow line (this may change in a future version of the spec)
    Ultimately, without the use of robots.txt files on your servers/domains, you are risking a variety of potential problems including, unauthorized access to your cgi directory, unauthorized viewing of your site stats, possible spamming of the search engines by accidental crawling of doorway pages.

    One distinct advantage however of having a robots.txt file on your server is that, quite simply, you will be able to tell when and where your site has been indexed or potentially indexed as, all robots will automatically call for the robots.txt file BEFORE any other page on your server so, as long as you keep an eye open for any calls of this file, you can see who is knocking at your site for indexing purposes.

    Below is a robots.txt example that you can copy and paste into a text document to use on your own server:

    <!–Start Copy Below This Line–>

    User-agent: *
    Disallow: /cgi-bin
    Disallow: /logs

    <!–End Copy Above This Line–>

    The above will allow all spiders to crawl all of your site except the subdirectory’s ‘cgi-bin’ and ‘logs’ which, may be altered to suit any subdirectory’s you do not wish the spiders to crawl on your server.

    Article written by Lee

  • What On Earth Is CGI?

    Date: 2011.02.24 | Category: WebDesign | Response: 0

    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

Site Links