-
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
-
Fighting Back Against Computer Viruses
Only 10 years ago, the only way that a virus could have infected your computer was through you physically putting a floppy disk into your hard drive and running the program file that initiated the virus however, today’s viruses have become more complex in how they operate and, can spread like wild fire if they are not recognized as a virus doing damage not only to your computer but that of your associates and peers.
So how do we minimize the risk of virus infection on our computers which, lets face it, for the Adult Webmaster are our livelihood and, need to be protected at all cost. This is what we will take a brief look at in this article, how to minimize the risk of getting a computer virus and, heaven forbid, how to deal with a virus if you actually have one on your machine already.
Computer Viruses – A Little History.
1981 – The first widely accepted computer virus is recognized. The ‘Elk Cloner’ virus was spread through floppy disks and, whilst by today’s standards, it was not a high risk virus it, non the less was still a virus, in fact, all this first virus did was to display a message on your computer screen.1991 – The ‘Tequila’ virus was the first recognized ‘polymorphic virus’ meaning, it was the first virus which actually altered its state once on your machine in order to remain undetected.
2001 – 2001 saw the spawn of several highly potent ‘worm’ orientated viruses from the ‘Gnuman’ virus, the ‘LogoLogic Worm’ and the famed (is that the right word?) ‘Nimda worm’. These ‘worms’ were the first of their kind to actually spread themselves across the World Wide Web through infecting users email clients (specifically Outlook Express) and sending itself to every email address the infected machine had in the address book.
Virus Infections – Prevention Better Than Cure.
So we now have a little background on the main viruses over the last 20 years we will take a look at the ways in which we can prevent viral infections on our computers after all, as the subtitle for this paragraph says, a prevention is far better than having to find a cure.Here are a few simple ways you can help to prevent the spread and infection of computer viruses.
1) Install a good anti-virus software package on ALL of your computers, Norton and, Mcafee, both have some good products to aid you in preventing viral infections of your PC. Also, you should ensure the software package you do install has updated virus definitions, a new virus is created almost every week so you need to ensure your software keeps up-to-date on the latest infections.
2) Scan any and all email attachments you receive, irrespective of whether you know the sender or not, anything that you get sent in an email should be scanned, as mentioned above, there are complex viruses that can ‘send’ themselves from other peoples email address book, what happens if you are on the address book of an infected users computer? Can you afford not to be online?
3) Ensure that, once you have an Anti virus program installed on your machine that you have it setup to start each and every time that your computer boots, the first thing that should be loading on your machine is an anti-virus program, you only have one chance to prevent infection.
4) Avoid downloading .exe and .com files to your desktop unless, you know the person you are downloading the files from and, even then, before you launch or open the files ensure you scan them independently.
Virus Prevention – Overview.
Hopefully this article will have given you some insight into how you can protect both your computer and the computers of your associates and peers from computer viruses and, hopefully, by following the guidelines within this article your time spent online will be productive and virus free. One thing you should remember however is that no matter how hard we all try to remain virus free, someone will create a new program that ultimately, could infect our machines no matter how hard we try.Article written by Lee
-
Newbie Basics – The HTML Layout
In this article we will look at some HTML tags that you will be using in every HTML document that you create. They are the base for every web page and are the essential pieces of HTML coding to ensure that your pages display correctly.
The Structure Tags.
Here is a look at the main structure tags. You will have to get used to these since you will be using them for all your pages.We would suggest that you start by copy and pasting the structure into your document then creating my page once they’re in place.
Make it a habit to ensure that all surfers (regardless of their browsers) will be able to identify your creations. Each of these HTML tags are used in pairs with a start and ending tag in the same way as we mentioned in the previous chapter.
<HTML> </HTML>
The HTML tag tells the browser that your page is a valid HTML page.
The first and last tag on all your HTML documents will be this tag.
The complete HTML coding for the remainder of your document will be placed between these two HTML tags.
<HEAD> </HEAD>
This tag is used to reference your document.
<TITLE> </TITLE>
This tag enables you to give your HTML document a title.
It’s best to insert descriptive text about your page between these tags we will go into this in more detail in the later chapters.
This will also be the name that is displayed in a web browser’s system tray when someone bookmarks or adds your HTML document to their favorites list.
<BODY> </BODY>
The entire coding for your page goes in between these two tags.
Basically, they mark the beginning and end of your web page’s body. They are the essence of your HTML.
All your HTML tags in your document will be resting in between these two HTML tags.
Putting It All Together.
Now that the main tags have been outlined, it’s time to put them all together. Here is an example of what your HTML documents should look like.<HTML>
<HEAD>
<TITLE>The Title Of Your Html Document Goes Here</TITLE>
</HEAD><BODY>
All your other HTML tags and text goes here.
This Is the main body of your HTML document.
At the end of this text you will also see where the closing Body and HTML tags go.</BODY>
</HTML>
This is the basic structure for any HTML document. Once these tags are in place, the rest is down to you. These Tags are not case sensitive. In other words, you don’t have to use all capital letters like we have in our Chapters. It won’t make a difference to the overall outcome of your tags. However we would recommend using Caps for your tags. It makes them a lot easier to distinguish from all the other sections of your HTML document coding, as you can see in the example above.
Article written by Lee
-
Guaranteed Marketing – Power Words
How many webmasters do you think actually pay attention to what they are writing so far as their sales copy go? Furthermore, if you actually think about it, how much time do you put into choosing the words in which you use on your websites? With the help of this brief article hopefully, you will start to choose the words in which you use a little more carefully, let me explain.
Power Words – What Are They?
Power words are a set of roughly 10 words that can invoke interest in a person, object or, in our case, a product which we would like to sell however, they are also much more than that. When used in the correct manner power words can become a webmasters greatest selling tool. However, everyone has their own unique set of power words that will appeal to them over everybody else, the good thing is, for the most part there are at least 25 words which almost everybody will look positively towards.Power Words – The List.
The following list is compiled from research at Yale University consisting of the most popular power words amongst a demographic of 1000 individuals of mixed sex. The words are, Discover, Easy, Guaranteed, Health, Love, Money, New, Proven, Results, Safety, Save and, You. By using these words in a variety of ways when writing our sales text we can almost be certain that we will keep the surfers attention and enable us to put the power of our marketing to good use.Power Words – Uses.
As already mentioned, the best use for the most common power words on our sites is to use them within our text links either at the start of the sentence or, the absolute end. Take a look at the following example to see what i mean.1) High Converting Affiliate Program.
2) Guaranteed To Convert Your Traffic.
3) Turn Your Traffic In To Cash – Guaranteed.You can see from the three examples above the the first example doesn’t really catch your attention whilst examples number 2 and 3 somehow seem to pull you into the ‘spirit’ of the site itself without even knowing what affiliate program it is.
By using this power word marketing technique as often as possible on your text links you can not only give your site visitor information but, compel them to click on your link.
Power Words – An Overview.
Hopefully you have seen from this brief article the ways in which power words can improve not only your text links pulling power but also how with the right marketing combination you can also use them to increase your sales.Article written by Lee
-
The Next Big Traffic Craze – Thumbnail Link Lists
As adult webmasters are constantly thriving to create the next craze in traffic sources to garner sales from their sites it comes as no surprise that there is already talk amongst the ranks of the next big thing, what is this new idea? The Thumbnail Link List.
Thumbnail Link Lists – Re-Inventing The Wheel.
As the past year and a half have taught us as webmasters, regular TGP’s have almost become a thing of the past with more and more thumbnail TGP’s being created and submitted to daily, why then, has it taken so long for someone to think up the idea of the Thumbnail Link List? Quite simply I think it has been a case of to much has happened over the last 12 months in the adult industry for webmasters to think this idea up.So What Is A Thumbnail Link List?
A thumbnail link list is in effect a way of displaying free sites on your own standard Link List by utilizing small thumbnail samples of the images contained within the free sites galleries, in fact, much the same way that a thumbnail TGP works however, instead of only listing single image galleries your link list will consist of links to individual free sites.Much like the Thumbnail TGP traffic source, the thinking behind the Thumbnail Link List is that by showing your surfers what type of pictures the sites within your link list contain they will be more likely to visit the free site thus improving your CTR to your webmaster submitted sites and, ultimately, your site overall allowing you to manipulate the traffic to garner more sales for yourself as the Thumbnail Link List owner.
Submitting Your Site To A Thumbnail Link List.
Looking at the Thumbnail Link List idea from a webmaster who would be submitting your free sites for listing (and ultimately traffic) how do the rules of the Thumbnail Link List differ to that of the regular link list which we are all used to seeing, well for a start, the main difference will be that you either need to submit a thumbnail yourself or, enter the url to one of your gallery pages in addition to the main entrance to your free site, this will actually be the only significant change in how you operate your link list submissions compared tot he current link list method, however, as each Thumbnail Link List owner will have their own individual rules you should check before submitting as to what is required from you as a submitter.Thumbnail Link Lists – Overview.
The whole Thumbnail Link List idea is one that, in all seriousness should mean more traffic not only for the submitters of the free sites but, also for the Thumbnail Link List owner themselves, by offering the surfers a preview of the content contained within the free sites they will be visiting they can simply reduce the amount of sites that do not appeal to them and focus more on the sites that do meaning that the webmasters who submit highly niched free sites to the links lists will now be able to benefit from a larger traffic base and ultimately, more sales.Article written by Lee
-
Designing A 404 Error Document
Designing A 404 Error Document.
Now that we know how to use .htaccess let’s get into how exactly to effectively design a 404 error document page. Here are a few tips when building your document:Keep The Design Constant.
That is, whatever design your web site supports, consider keeping that design when building your error document. This is not mandatory, however. If you have a good reason to stray from your design, then do so. Otherwise, keep it constant.
Use Attractive Dialog.
Do not use the word error. Error signifies something is terribly wrong, and while that may be so, you should give that information to your visitor in a very friendly way. Instead, consider writing “Sorry, the page you were looking for is not available at the moment”.
Include Contact Information.
Obviously, you want to fix the error, so give the user every opportunity to e-mail you about the error. Some users will not bother to do so, but you still need to give them the opportunity.
Keep The Visitor Moving.
Often, 404 error pages are like road blocks, or brick walls that the user cannot pass through. You need to break through the barriers and allow the visitor to keep traveling through your web site. If your web site supports a search capability, include a form on your error document to let them search for the information they were originally seeking. At the very least, include a link to your home page.
Give Them A Site Map.
When the user clicks upon a page that is no longer available, or was mistyped by the webmaster, consider adding a link to a site map page, or include your site map right on your 404 error document, so the user can get their bearings within your site, and can locate their desired content quickly and easily.
Give Them Help.
List tips on your error document page to help the visitor diagnose the error. For example, ask them to double check the URL in their browser’s address bar. If it’s correct, politely ask them to e-mail you to report the error. Also suggest that they visit your home page (or search utility) to find the information they are after.
List Some Popular Links.
Provide the user with a few links to your most popular content areas of your web site, as it is more likely they were searching for that content than anything else.
As you have seen, error documents are more important than you may think. Merely having a custom error page shows you have put forth effort on your web site and want to help the user find the information they need. Error documents are easy to create and adds professionalism to any web site.
Article written by Lee
-
SMS Marketing To MMS Marketing – WAP Billing Solutions
MMS Billing (Multimedia Message Billing) is going to be one of the next huge leaps forward for the online industry’s, with more and more surfers firing up their cell phones to visit our sites and properties we need to start looking at the ways in which we can ultimately bill these types of customer and this is where MMS Billing comes into play.
MMS Billing – What Is It?
MMS Billing is a method of charging surfers using cell phones for access to your sites and services. Much like how the SMS Billing model works however, rather than solely billing for text or images, you can utilize MMS Billing on a wide range of rich media applications including movies, sound and, flash applications.MMS Billing – What Are The Costs?
The costs for MMS Billing can vary greatly depending on your MMS Billing provider however, as a rough guideline, you can expect to pay anywhere between $0.10 and $0.50 per purchase through the MMS Billing method.MMS Billing – An Overview.
MMS Billing is still in its infancy across the internet however, with more and more sites becoming WAP enabled and, more and more surfers turning their cell phones on to browse our websites this billing model will soon grow to what the current SMS Billing model is today.Article written by Lee
-
The Gay Opinion – Obscenity Laws and the Gay Market
Let me begin by saying this is not a legal dissertation, but a collection of opinions on the recent comments and events inside the industry.
Obscenity Laws have always been the “fly in the ointment” for adult. Not knowing when, if or how the government will act toward webmasters or companies.
So what do I think? Every indicator out there says something or someone is coming. Big Brother is on the prowl. But, how will webmasters in the gay market act to ward off the evil?
While discussing this with a number of webmasters, I found that the gay opinion is spread as wide as a gigolo’s legs on payday. The thoughts that have been shared vary from ultra conservative to down right militant. And once again, I find myself stuck dead in the middle.
Here is a sampling of the opinions at large:
I’ve heard from some webmasters who have a “come and get me attitude”. Their approach is the government has done enough damage to the gay community over time.
Their attempts to sanction the gay adult industry will be simply another shot at taking us down – and that attempt will garner a public/media fight of the government acting as a bully. Now does this have anything to do with adult? No matter how I look at it, the one subject isn’t related to the other. Personally, the government’s reaction/treatment to the gay community has little to do with the government’s action towards adult. Yes, I can totally see how they got there, but it’s not enough for me.
There is the “what else is new” set. This is a group of webmasters who own pay and/or free sites, have been doing this for a long time and they have adapted their companies and their marketing to sell memberships to the surfers. They use softcore and stories already on their feeder sites, have webmaster programs and they are happy with the results and will not change a thing. Their methods work – methods are not blatantly sexual but more sensual and the conversions are a testament to that. By the way, this is where I stand (right in the middle). The general thought is nothing has happened yet. Work smart and don’t panic.
The other side of this is the “oh shit’ers”. These webmasters are re working their entire networks of gay porn to follow a well-established method of softcore only. Make them Pay for the Meat! They are reacting by taking down all hardcore images from their sites in order NOT to stir up any government dirt. Well as far as I’m concerned, they should have been doing this to begin with… sell the hardcore to members don’t give it away on a free site. For this, group the panic is on.
Finally I spoke with the “fuck ’ems”. Now their idea isn’t that the government is suppressing the gay community. They look at this totally as a first amendment issue of freedom speech and expression. They use both hardcore and softcore to resell for webmaster programs and frankly, they feel that they will prevail over any government attack simply by way of Bill of Rights. They’re making money and they don’t care who knows about it.
What does this all mean? Well here’s my take…
First, it’s apparent that the opinions are just as varied as webmasters working the straight market.
There is a general feel of, don’t panic – more than I have seen with straight market webmasters. I honestly, think this comes from our years of battle against the government on many other issues. Until the rumors become fact we will move as we always have – then deal with what is concrete rather than the abstract.
Overall, the most resolute business people I have heard from, all said the same thing. If you use common sense, use methods that work and that do not go overboard there will be no need to panic. The hobbyist who is trying to make a million will leave out of fear, the “over the top” websites will be the target and those businesses run with common sense will continue with no major issues. I think my favorite statement to come out of these conversations is, “The government will bite, if you give them the bone. Don’t feed them and they go hungry.”
I see the same “proceed as usual” attitude out there, as I have always seen in the gay community. Deal with the facts and only and not rumors.
Once again, this is totally based on opinion and by no means a legal stance. If you have any doubts, concerns or questions about obscenity laws in your area or in general, please consult your attorney.
Article written by Gary-Alan
-
Fonts – Everything You Wanted To Know
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
-
Redirecting To A Different Page Using JavaScrip
There are times when a simple JavaScript redirection from one page to another can come in handy and, the following JavaScripting will enable you to do this.
When a page contains this javascript, it will be redirected to another page that you specify in the “window.location=”. You can change the number of refresh seconds by changing the “move()’,1000 to the number of seconds you’d like.
Example:
1000 = 1 second
2000 = 2 seconds
3000 = 3 secondsPlace this JavaScript code between the <head> and </head> tags
<script language=”JavaScript”>
<!–hide from old browsers
var time = null
function move() {
window.location = ‘http://www.yourdomain.com’
}
//–>
</script>Place this JavaScript code in your <body> tag
<body onload=”timer=setTimeout(‘move()’,1000)”>
You should now have a page that will redirect to a new url when it loads in the surfers browser window.
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