• Adding Images To Your Web Pages

    Date: 2011.02.21 | Category: WebDesign | Response: 0

    The Basics

    Adding Images To Your Web Pages – The Basics.

    So you have just got into the online adult business but don’t know your ass from your elbow, you have the simplistic stuff relating to HTML down but, you want to find out how you can start adding banners and images to your pages here is a quick guide to help you on your way.

    What Is An Image?

    The answer, is, believe it or not simple, An image is a picture on a page of your website. There are however, many way to display images on your site from the size of it to the overall effect you want the image to have on your HTML page and from borders around the image and many other things.

    However, I don’t want to blind you with information at the moment considering you need to actually know the basics of adding images before you can start using fancy styles and the likes.

    Adding A Basic Image.

    The HTML code to add an image on any HTML based page is a straight forward one however, before you can use this HTML tag you need to know where on your page you want the image to appear.

    Now that you have decided where you want your image to display you need to use the image tag, the HTML coding to place an image on your page should be IMG. Also, you will need to tell your page where you want the image to come from or, in other words, you need to tell it the source of the image you want to use the HTML tag to do this is SRC.

    For example, lets say you have an image called porn.gif (you need to include the extension in your SRC coding) you would display this image on your page using the following code:

    <IMG SRC=”porn.gif”>

    Simple huh?

    Well, actually, maybe not, for example, what do you put if the images you are linking to is NOT in the same location as the page you want it to appear on? That’s not a problem, all you need to do is use the FULL location of the image in your IMG HTML tag like this:

    <IMG SRC=”http://www.domain.com/images/porn.gif”>

    You should now be able to include images on your pages without any problems.

    Image Sizes.

    Ok we can now include an image on our pages but, what if we want to make this image fit the feel of the rest of our page / site, how do you manipulate the graphic to ‘look’ right?

    There are a number of ways images can be manipulated for example, if you want the image to be 100 pixels wide by 100 pixels high you can add the WIDTH and the HEIGHT tag to your HTML coding like this:

    <IMG SRC=”http://www.domain.com/images/porn.gif” WIDTH=”100″ HEIGHT=”100″>

    That will now resize your image into a square that is 100 pixels wide and high.

    Now we have the image on our page in the right size we require what else can we do with it? Read on..

    Borders + Colors.

    In addition to placing the image and resizing the image on our pages we can also add a border and, a border color to the mage to make it stand out if needed for example:

    <IMG SRC=”http://www.domain.com/images/porn.gif” WIDTH=”100″ HEIGHT=”100″ BORDER=”2″ BORDERCOLOR=”FF0000″>

    As you can see we have now added the two tags ‘BORDER’ and ‘BORDERCOLOR’. The first ‘BORDER’ tag tells your HTML what size of border you want around your image and, this can be any size you want to make the image stand out on your page. The second ‘BORDERCOLOR’ tag tells your HTML code what color you want the border to be again, this can be any color you like to match the rest of your sites pages.

    Linking An Image.

    In addition to resizing, adding borders and colors we can also link our image to a specific URL (the most common form of this is with banner advertising) and, if you want to link your image to a URL you would use the following coding:

    <A HREF=”http://www.sponsorsurl.com”><IMG SRC=”http://www.domain.com/images/porn.gif” BORDER=”2″ WIDTH=”100″ HEIGHT=”100″ BORDERCOLOR=”FF0000″>

    This will create an image that is 100×100 pixels in size, with a border size of 2 pixels in the color FF0000 that is linked to http://www.sponsorsurl.com

    Also, the order of the HTML tags we use is not important however, you should try to get used to arranging them in a certain way to make your work easier if it ever comes to editing your images.

    Hopefully this has been of use to you and you can now see that adding banners and images to your sites isn’t as daunting as you first thought.

    Article written by Lee.

  • Marketing Campaigns – Testing Your Variables

    Date: 2011.02.24 | Category: Promotion | Response: 0

    Irrespective of the medium, an online advertising campaign needs to be tested and optimized constantly in order to provide you with the optimum results. This is where advertising testing can play an important role in your marketing strategy. Despite the advantages to testing your online marketing campaigns, relatively few companies actually go out of their way to see what what works, what doesn’t and, more importantly, why.

    Steps To Testing Your Ad Campaign.

    1) Set expectations as to how you envisage your campaign to perform. This in itself will guide you’re optimization methods. An example of this is, if you expect your ad medium to get a 15% click thru rate or a, 10% conversion rate, you have justification in making adjustments to your campaign if the creative you are using does not perform to your level of expectation.

    2) Don’t get tied into a campaign, If you are going to be purchasing an advertising campaign on a resource site, ensure you have an ‘out clause’. This out clause will enable you to terminate the campaign as long as it has run for a set amount of time, usually, many resources will be happy to give you an out clause especially, if after testing your marketing materials, the results you were hoping for have still not shown themselves.

    3) Consider the variables in your ad campaign, usually, webmasters only think of the one variable in their advertising campaign – Price. However, there are many more variables to be looked at for example, if you are doing a mail drop, the subject line of the email, format and, copy text of the email body itself, all of these things can have a drastic effect on any given advertising campaign, at any given time and often, these can, and most probably will, fluctuate from site to site where you are purchasing ad space.

    4) Stats tracking, tracking your campaign makes it easier to test and review how your advertising medium is working for you, many sites offer live stats for your ad campaigns however, some still do not, where this isn’t a problem in itself as, most companies you choose to advertise with will be more than happy to provide you with statistics as and when you need them after all, you are paying for their services and support.

    5) Pull the plug on campaigns that are not performing, however, ensure you have changed your creative several times before doing so, often, you will find a simple change such as a new creative can drastically increase your marketing efforts. Also, do not just pull advertising as you feel like it, if your campaign has only been active for a week, don’t expect hundred / thousands of hits instantly, often it takes webmasters a while to realize there are new ad mediums running on the sites they visit so often.

    Online Advertising – Review.

    By constantly assessing and testing your advertising campaigns you can pull some interesting figures which can help you long term however, don’t rush into pulling campaigns that you have only just started. Give it a few days, change your copy text and creatives and, if that doesn’t work talk to the company, they will be able to offer you advice and help on improving your sales from your advertising medium after all, they want to keep your business.

    Article written by Lee

  • Using .htaccess Effectively

    Date: 2011.02.24 | Category: WebDesign | Response: 0

    The .htaccess file is an ASCII text document that can be placed in any directory on your site. It can be used to control access to files and directories, and customize some server operation in your site. A .htaccess file can be created in any word processor but must be saved as text only. You must use FTP software in ASCII mode to upload or edit your .htaccess file. For the examples provided here, place the .htaccess file in your root directory.

    There are a variety of functions that you can control using .htaccess some of the more useful of these are explained below:

    Custom Error Messages.

    Add the following to the .htaccess file::

    ErrorDocument 404 /notfound.html

    After “ErrorDocument” specify the error code, followed by a space, and then the path and filename of the .html file you would like to be displayed when the specified error is generated, each specific error code is detailed below with the recommended codes to be used in the .htaccess file in bold :

    200 OK
    206 Partial content
    301 Document moved permanently
    302 Document found elsewhere
    304 Not modified since last retrieval
    400 Bad request
    403 Access forbidden
    404 Document not found
    408 Request timeout
    500 Internal server error
    501 Request type not supported

    Using the codes above your error section of the .htaccess file should look like this:

    ErrorDocument 301 /notfound.html
    ErrorDocument 400 /notfound.html
    ErrorDocument 403 /notfound.html
    ErrorDocument 404 /notfound.html
    ErrorDocument 500 /notfound.html
    ErrorDocument 501 /notfound.html

    Redirect to a Different Folder.

    Add the following to the .htaccess file:

    RewriteEngine on
    RewriteRule ^/oldfolder(.*)$ /newfolder/$1 [R]

    This redirects the user from /oldfolder/anyfile.html to /newfolder/anyfile.html, when the .htaccess file is uploaded to the otherwise empty “/oldfolder” directory.

    Denying User Access.

    Add the following to the .htaccess file:

    <Limit GET>
    order allow,deny
    deny from 000.00.00.
    deny from 000.000.000.000
    allow from all
    </Limit>

    This is an example of a .htaccess file that will block access to your site to anyone who is coming from any IP address beginning with 000.00.00 and from the specific IP address 000.000.000.000 . By specifying only part of an IP address, and ending the partial IP address with a period, all sub-addresses coming from the specified IP address block will be blocked. You must use the IP addresses to block access, use of domain names is not supported

    Redirect a Machine Name.

    Add the following to the .htaccess file:

    RewriteEngine On
    Options +FollowSymlinks
    RewriteBase /
    # Rewrite Rule for machine.domain-name.net
    RewriteCond %{HTTP_HOST} machine.domain-name.net $
    RewriteCond %{REQUEST_URI} !machine/
    RewriteRule ^(.*)$ machine/$1

    This will redirect requests for the machine name machine.domain-name.net to the directory machine on the site domain-name.net.

    Different Default Home Page.

    Add the following to the .htaccess file:

    DirectoryIndex filename.html

    Then a request for http://domain-name.net/ would return http://domain-name.net/filename.html if it exists, or would list the directory if it did not exist.

    To automatically run a cgi script, add the following to the .htaccess file:

    DirectoryIndex /cgi-local/index.pl

    This would cause the CGI script /cgi-bin/index.pl to be executed.

    If you place your .htaccess file containing the DirectoryIndex specification in the root directory of your site, it will apply for all sub-directories at your site.

    Preventing Hot Linking.

    Add the following to the .htaccess file:

    # Rewrite Rule for images
    RewriteCond %{HTTP_REFERER} <URL of page accessing your domain>
    RewriteRule ^(.*)$ http://<same as above URL>

    You would replace the <URL of page accessing your domain> above with the domain name and path of the page that is referring to your domain. For example: www.theirdomain.com/users/mypage/

    The RewriteCond directive states that if the {HTTP_REFERER} matches the URL that follows, then use the RewriteRule directive. The RewriteRule directive will redirect any reference back to the referring web page.

    Using the above you should, safely be able to publish your sites on the internet knowing that you will not be privy to bandwidth thieves via hotlinking and also, that you will not lose any traffic through pages that are ‘not found’.

    Article Written By Lee

  • Calling Complete JavaScript’s With One Line Of HTML Code

    Date: 2011.02.21 | Category: WebDesign | Response: 0

    We all know that some JavaScript coding can be excessive and add considerable amounts of additional coding to our pages making them both slower and less search engine friendly however, what if I told you there was a way you could call the EXACT same JavaScript functions you are calling now by using a single line of code and, in the process you would NEVER have to find a specific piece of JavaScript again as you would instantly know where it was saved.

    You would probably think the above is in fact very time consuming but, it actually takes no time at all.

    The secret is to copy and paste the JavaScript into a plain text file and save that on your server somewhere. However, instead of saving it as a .txt extension save this file as a .js extension and, to make it easier still to find, when you upload this file to your server place it in a directory called /JavaScript/.

    That’s pretty much it, easy huh?

    Now comes the part of actually getting the JavaScript to work on your web pages, what you need to do instead of using the complete JavaScript coding that you usually would if you wanted to make a pop-up console appear is to use the following coding placed between your <head> and </head> tags:

    <script language=”JavaScript” src=”../JavaScript/popup.js”></script>

    That will now call the popup.js file or whatever it was you called it from your server and make the JavaScript function work for your surfers with JavaScript enabled in their browser.

    As you can see, not only does using this method save you a considerable amount of time but, it will also make your pages more search engine friendly as spiders will not have to work their way through a lot of heavily JavaScript before they get to your SE content.

  • Community Forum Scripts

    Date: 2011.02.21 | Category: Scripts | Response: 0

    Whether you have little or much traffic one thing that will enable you to benefit greater form this traffic is giving your surfers the sense that they are part of a ‘community’ much like the message boards built around adult webmasters have the feel of a community to them your surfers will end up staying around a lot longer if you can give them a reason to come back to your site over anyone else’s.

    That said, one of the main factors in starting your own little porn community is the need to have a place where all the ‘action’ take place. What better way than you own message forum.

    However, we hit our first problem, having never thought about starting a forum up before you wouldn’t know where to go to look for scripts or, what the best one is. That’s the reason behind this little guide.

    Below you will find a short breakdown of the more commonly used message forum scripts along with a short list of features each one has to offer you when choosing to build your own online community.

    VBulletin http://www.vbulletin.com

    This is actually quite a good forum script, most of the main forums on the web use either VBulletin or PhpBB when it comes to threaded forums. VBulletin uses MySQL and .php to run the actual forum and, set-up of it can become a little tricky if you want to customize it to your exact needs and color scheme. That said, once you overcome the initial complications in setting the forum script up it is easy to handle and, with a price tag of only $160.00 its an affordable option for many.

    Ultimate Bulletin Board http://www.infopop.com

    Unlike VBulletin UBB uses Perl programming for the forum script which, means you can install it on any cgi enabled host. However, the one main drawback with this script is that it uses flat text files to store all the data which, can sometimes bog down your server with unnecessary file calls. The cost of $199.00 however can be a bit to expensive for most webmasters.

    Ikon Board http://www.ikonboard.com

    Ikon board is a nice little threaded forum script and, the fact that it is free to download makes it even more so however, even though it uses MySQL for the backend or, choose to store your data in flat text files this script just seems a little to ‘basic’ looking for my personal taste. That said, there are many types of site using IkonBoard so the script must be good enough for them to be using it. Then again, maybe its the price tag of $0.00 that has made this a popular choice.

    PhpBB http://www.phpbb.com

    PhpBB is probably the most well known free forum script on the web today, its easy to customize (within reason) supports php and MySQL functions yet seems to offer nothing in return. The basics of a forum are there however, every webmaster and their closest friend seems to be using this script. The whole idea of building up a community is so that your site can stand out from the crowd, in my humble opinion, the script does what it is supposed to but, it doesn’t offer any redeeming qualities to your site.

    Site Net BBS http://www.focalmedia.net

    Sitenet BBS, formally known as Netboard, is probably one of the better Perl based forum scripts on the market, it price tag of $69.00 makes it an affordable choice for almost everyone and, the installation process itself is VERY simple to understand. The one drawback that i have found with this forum script however is that it stores the data in flat text file which actually slow the server down quite a lot making connections to the forum time-out on numerous occasions. However customization of the script is very easy using only HTML based templates you do not need any additional programming skills and, it has a nice interface with a few good features. For the price it is well worth a look. They also offer a freeware version however the links on the bottom of the forum become annoying after a while.

    In summary there are a lot of popular forum scripts available for webmasters to start using some are free other require payment ALL have a range of different functions available in them.

    Before looking at installing any of the scripts you should always try a demo first to see which one has the features and benefits you would like to offer your community members.

    If you can get your base community built up on a forum they enjoy using then all the rest of your marketing should pay off in dividends long term.

    Article written by Lee.

  • So That’s What It Means!

    Date: 2011.02.24 | Category: General | Response: 0

    Often you will hear other webmaster talking about things such as unique hits, banner exchanges and, AVS systems. The article below is a simplified glossary of those and many other terms that you will begin to hear day in and day out of your working life as an adult webmaster.

    AVS (Adult Verification System)
    The protection system that was designed to prevent minors from accessing adult sites. AVS services usually also have a large network of sites that adult surfers can access with one password. You can find a list of Age Verification Systems at Adult Sponsor Programs

    AVS Site
    A site that uses an AVS system.

    Banner Exchange
    A program that enables an exchange of traffic between a whole variety of adult sites. They provide you with some coding which you put in your HTML in order to get additional visitors to your adult site. You can visit: Porn Client for a highly respected Banner Exchange System.

    Blind Links
    When you place a misleading link on a site that will encourage the surfer to click on it. They will be sent to a new site that has nothing to do with what they expected to see. For example, if you had a text link saying ‘Free Porn’ and they get sent to a paysite when they click on the link.

    Browser
    A program that displays and navigates web pages you are using a browser now to view this page.

    Chargeback
    A chargeback is what happens when a surfer changes their mind or decides they don’t like the site or service they signed up for and tells their credit card company they will not pay the fee for your sponsor or paysite charges. Chargebacks are bad for everyone concerned because do you not only lose income for the sale, penalties are applied and sometimes they are applied to you.

    Click-Thru Program
    A sponsorship program that pays you an amount of money for each and every single visitor you send to their site. You can also find a list of per click sponsors at Adult Sponsor Programs.

    Content Provider
    A company that offer adults pictures, video clips for sale or lease. For a complete list of the best content providers head over to http://www.adult-content-providers.com.

    Dead Or Broken Link
    A link that is no longer valid or isn’t working. When you click on the link you get a page not found error.

    E-Zine
    An E-Zine is in simplified terms and online magazine.

    FTP (File Transfer Protocol)
    You need to upload (FTP) your web pages from your computer on to the web for everyone to see. One of the most well known FTP clients is Cute FTP.

    Hits
    Number of times your page was viewed over a specific period of time.

    Hit Counter
    Tool used to track the number of surfers that click onto your adult site. A good hit counter can be found at: http://www.sextracker.com

    Hot-Linking
    When someone links to an image on your server to display it on their site instead of linking to the image on their own server. You can prevent Hot-Linking by having a .htaccess file on your server.

    HTML (HyperText Markup Language)
    This is the language used to write web pages. This page is written in HTML.

    ISP
    Your internet service provider. AOL is a well known ISP.

    Java
    A programming language used by programmers to build and create programs. Not to be confused with JavaScript (see below).

    JavaScript
    A scripting language you can directly insert into HTML documents. They only work with surfers that have Java enabled on their browser.

    Legal Content
    Adult content for which you have rights to display on your site.

    Model Release
    Document that a model signs at the time the photographs of them are taken.

    Message Board
    A message board is a place where you can ask and offer advice about the industry or just generally chat with other adult webmasters for example the message board at: http://www.europeanwebmasters.com.

    Newbie
    A new adult webmaster.

    Partnership, Sponsor or, Affiliate Program
    A revenue program that pays you a percentage or fixed price for every member you send to your sponsor’s site.

    Pay Site
    An adult website where surfers have to pay a fee for access.

    Pic Post
    A site where you can submit a picture and your ad on a daily basis.

    Plug In
    A plug in is a ready-made type of web “CONTENT”. Many plug in providers will even host the content on their servers and allow you to change colors, Fonts and, add a logo graphic, so the plug in matches your site. Plug In content is generally more expensive than image content.

    Ratio
    A ratio like this refers to click throughs and actual sales made from them. When a webmaster says they got a 1:250 ratio, they mean that out of 250 people who clicked on his sponsor banner, one of the surfers paid for memberships.

    Signup Ratio
    The amount of surfers that paid to view your adult site (See the example above headed RATIO).

    Spamming
    Promoting a site or service to newsgroups or e-mail addresses that have not given you permission to do so. Spamming can also mean posting your referral codes on message boards constantly inn order to get other webmasters to sign up beneath you.

    TGP (Thumbnail Gallery Post)
    A site where you can submit your gallery pages. They in return put up your gallery and send you additional traffic.

    Thumbnail
    A smaller version of an image used to link to a larger version of the same image.

    Turnkey Site
    An adult site that is already designed and finished with logos, content, billing solutions and, hosting. All you have to do is maintain the site. Newbies often make the mistake of buying a turnkey site before they properly know how to market them.

    Traffic
    The term used to refer to the amount of visitors to your adult website over a specific period of time.

    Uniques
    Number of visitors to your site. If 10 surfers visit your site on any given day and 2 of them click onto your site 3 times the same day, it will be referred to as 8 unique visitors for that day.

    URL
    A web address. Actual address to a page would be a URL. For example: http://www.adultwebmasternewsletter.com is the URL to our Adult Webmaster Newsletter Site.

    Warning or Entry Page
    The page before a surfer sees the main content of your site.

    Web Host
    A company that will provide you with a hosting account so that you may upload your website on their server so that surfers may see your site. For a reputable host you might like to try http://www.webair.com.

    Article written by Lee

  • Writing A Business Plan – The First Step To Success

    Date: 2011.02.21 | Category: Forms & Contracts, Writing | Response: 0

    Regardless of what type of business you want to run be it a bakery, a funeral home or an online marketing empire the one thing that you will require is a business plan however, having never taken any business basics 101 classes what do you need to have and, what is required in your business plan?

    That is what we will touch on in this brief article from the basics to the not-so-basics by using a few simple steps you can be sure your business plan will contain all the information you need to make it up the ladder of success.

    Information Summary.

    As the name suggest this is a simple summary of what you are hoping to achieve from the name of your business, the goals, the concept and your plans. This should actually be no longer than two pages so that you can fill the needed information out clearly and concisely.

    Business Details.

    This will be the founding information of your business again you need to mention your business name, what type of business you will be running (Sole Trader, Partnership, Corporation, etc) in addition you will also need to include details of who the company owners are, whether it be yourself alone or a list of your business partners, this information will be invaluable to you at a later date you also need to include a brief history of the business whether you have been running it already for a number of days, weeks, month or, years.

    Products And Services.

    Basically, you need to write what exactly it is you will be selling. Are you going to be selling baked goods, marketing services or custom solutions. Keep this section simple, if you need to go into depth then do so at the end of your business plan by way of an appendices. Once you have listed several of the products or services you will be selling you should also list the features and benefits (Marketing points) of the products and services in addition, why do you think your business idea will succeed, what do you offer your clients that no-one else currently does? In addition you also need to have a basic pricing structure planned out, this will assist you in the future as, from your initial plans you can see what, if anything needs to be changed.

    Marketing.

    A business is more than just an idea. You need to have good pricing, affordable suppliers and a great marketing plan. This is what is also needed in your overall business plan. You should include details of your competitors products and how they compare to your own or, if applicable why your product will be a benefit to the market place should it not already be readily available. In addition the marketing section of your business plan should include a list of advantages as well as some of the pitfalls you are likely to see. You also need to include a section detailing your specific marketing strategies regarding your overall and individual products and services.

    Industry Economics.

    This area should detail some of the more specific areas of the industry you are going to be working in for example, what type of industry are you entering, how does the future for this industry look and, more importantly, how many existing companies work this industry as well as how do you successfully launch yourself into the industry. Parts of this area you may have covered in the marketing and previous section non the less, go over them again here in more detail.

    Target Market.

    We have detailed the business ideas and products and services but, what about your potential clients? What does your product offer then that they need which no other company does? What is your target client base? How will you reach your customers? All of this and more needs to be addressed in this area of your business plan.

    Competing Companies.

    What do your competitors do and, more importantly, who are they? Make a list of your potential competitors and address their weaknesses and strengths ensure that you leave no stone unturned when getting this information together often, you will realize that there are things your competition is doing that you can do much better then they.

    Don’t forget to address their marketing, what are they doing right and, more importantly to you, what are they doing wrong? How can you capitalize on this and make their errors benefit your long term business plans.

    Location, Location, Location.

    Location is everything and, this is particularly true in business for example, will you be working from an office, from your home or even your garage, do you require any special permits to operate your business? Can your customers reach you easily? All of these items and more need to be considered when writing this area of your business plan. By addressing any and all of these items you will find yourself with a much clearer picture of what is needed of you and your business.

    Stock + Supplies.

    Often overlooked in business plans the one thing you NEED to have is a list of potential suppliers and sub-contractors who can provide you with your products and services. What materials (if any) do you need? How much will these cost you? Where will you find your stock and supplies? By getting this information available now you will have a better idea once your business plan is laid out as to what you are able to offer easily and also it will enable you to lay your pricing structure out more concisely.

    Labor.

    So you have this great business idea all laid out but, who will be running this for you? Do you need additional staff or are you going it alone? Do you need to setup accountants, lawyers, insurance companies, consultants, bank accounts etc etc? All of these aspects of your business need to be laid out here.

    Capital.

    Money, as they say, makes the world go round. Your business is no different, how much financial outlay do you require to get your business off the ground? Do you need to ask for a loan from your banking facility to help you out? How much income are you planning on making within the next 6 to 12 months? How much of this income needs to be invested back into the business? All of these ‘financial’ question need to be answered in this area of your business plan only then will you begin to see the bigger picture of your business idea.

    Hopefully this article has given you some solid advice and information regarding planning for your new business and, once you have all of the above laid out you should be able to see whether you will succeed or fail in your new idea.

    Also, by planning now for the future of your business you should hopefully be able to avoid any hidden costs which can often push a company to the edge.

    Article written by Lee

  • Using Basic Server Side Includes (SSI)

    Date: 2011.02.24 | Category: WebDesign | Response: 0

    Server side includes are what their name sounds like.  A way to include the contents of another file into your current web page BEFORE the web page gets sent off to the surfer.  Not only does this include contents of a static file but you can also include the results of a CGI program and on some web servers, you can even have it display the current date and time.

    Now, many web hosts do not normally have server side includes turned on. You will have to ask your host if they have SSI turned on and if they do, what is the file name extension for SSI.  By default, SSI files have an .shtml extension.

    Sometimes, you can turn SSI on yourself.  If you host doesn’t have SSI turned on for you already, you can try adding the following two lines to your .htaccess file.  Then create a file with the .shtml extension, include a SSI command and see if it works.

    AddType text/html .shtml
    AddHandler server-parsed .shtml

    When you use SSI commands, you place them exactly in the location within your web page where you want the output of the SSI command to appear when you finally browse the page.  If you have SSI, then you can use the following command to include a file.  When you include a file, you can either give it a path name to the file or you can give a URL to the file. I’ll list both here.

    <!–#include file=”/some/path/above/my/web/to/my/header.html” –>

    This is an example of how to include a file based on its path name.  Now,
    here’s the same file put included with its URL.

    <!–#include virtual=”/to/my/header.html” –>

    And this is an example of how to use a URL.  With a URL however, it cannot be a complete URL such as http://www.somesite.com/somefile.html.  It has to be within your current website.  You can also use the URL method to run a CGI script!  Here’s an example of that:

    <!–#include virtual=”/cgi-bin/somescript.cgi?myfirstarg=1amp;mysecondarg=2″
    –>

    As you can see, we can even pass arguments to the CGI script just as if you typed it into your browser!  There is also another way of running a CGI script but this is not as widely used any more and you should use the #include virtual method instead.  Here is the same example so that you will know what it means when you see it.

    <!-exec cgi=”/cgi-bin/somescript.cgi?myfirstarg=1amp;mysecondarg=2″ –>

    As I mentioned earlier, you can use SSI to display the current time and date. Here’s how:

    <!-echo “$DATE_LOCAL” –>

    This will display the current date and time. SSI is usually used when you  want to have a standard header or footer on each page.  It’s also used for displaying rotating banners or page counters. As you see above, you can also  use it to display the current date and time or the date when the page was  last modified.

    SSI has also been used for cloaking and some tracking  software uses SSI to track each incoming hit to the web page.  If you would  like more information about SSI, go to
    http://www.apache.org/docs/mod/mod_include.html.  This is the definitive guide on SSI on the Apache web server.

    Most other web servers that use SSI also follow these conventions.

    Article written by Lee

  • Redirecting To A Different Page Using JavaScrip

    Date: 2011.02.24 | Category: Scripts | Response: 0

    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 seconds

    Place 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

  • Article Writing For Publicity And Credibility

    Date: 2011.02.21 | Category: Writing | Response: 0

    If you’re looking for a powerful way to get free publicity and build your credibility at the same time, then writing articles may be your answer.

    If you’ve been on the Internet for a while, you’ve probably subscribed to a few ezines including this one, hopefully. Many ezine publishers will include an article written by a guest author. At the end of the article are a few lines of text about the author referred to as bylines or resource box. These lines of text are basically just an advertisement for the writer. They usually contain a couple of lines about the author and a web address.

    The writer gives the publisher permission to publish their article, free of charge, in exchange for the publisher including the author’s bylines.

    By writing articles and allowing them to be published, your articles will have the potential to be viewed by millions of Internet users. They may be published by several ezines with subscriber bases of a few hundred to several thousand. In addition, they may be displayed in ezine archives or on high traffic websites.

    Most ezine publishers prefer short articles between 500 and 750 words. Short “tip” articles of just a couple of paragraphs are also very popular. Articles should be formatted to 65 characters per line or less, including spaces, and written in short paragraph sections.

    When you begin writing your article, avoid using your standard word processing programs, as they do not allow for proper formatting. Instead, use a text editor such as Notepad. It should already be installed on your desktop.

    When you begin typing your article, use a hard carriage return (hit enter) when your text reaches 65 characters, including spaces, and leave a space between your paragraphs. This will enable publishers to easily copy and paste your article into their publication. By taking the time to properly format your article, you will increase your chance of being published significantly.

    Most publishers receive many article submissions each week and only select a few to be published. Here are some basic guidelines to assist you in getting published:

    (1) Make sure you follow the publishers’ submission guidelines. Articles submitted to publishers that don’t follow the submission guidelines will most likely be deleted.

    (2) Make sure your article is properly formatted.
    Publishers won’t take the time to format your article.
    They’ll simply delete it and move on to the next article submission.

    (3) Keep your bylines down to 6 lines or less.
    Publishers will not publish articles that contain excessively long bylines.

    (4) Select a descriptive title to intrigue your readers.
    Use a powerful headline that demands attention and try to keep it all on one line.

    (5) Use proper grammar and spelling.
    Publishers will not take the time to edit your article. Make sure you read your article several times and use spell check.

    (6) Avoid articles that are nothing more than a sales letter.
    Publishers want quality content and will simply delete an article that is written like a sales letter.

    (7) Avoid referring readers to an affiliate URL.
    Articles containing affiliate links may make your article appear to be biased and untrustworthy.

    (8) Write your articles with a sincere desire to teach and inform. Talk to your readers and share your expertise.

    Once you’ve written your article, you’ll need to develop a list of publishers that may be interested in publishing it. The best way to accomplish this is to display your articles on your website. Place a subscription box on each of your article pages to enable your visitors to subscribe. This list should be used to send your new articles to your list of publishers.

    Of course, you are already in one of the right places to start, we are always looking for industry related articles so, if you been given the motivation by reading this article to give it a try why not submit one to us for publication?

    Writing and distributing free articles on the Internet will be one of the best promotional decisions you’ll ever make. Not only will it provide you with free publicity, but if your articles are good, you’ll become a trusted professional in your area of expertise.

    Article written by Lee

Premium Sponsors















Categories

Site Links