Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Web Site help  (Read 4035 times)

0 Members and 1 Guest are viewing this topic.

nymph4

    Topic Starter


    Specialist

    Web Site help
    « on: September 15, 2008, 09:45:19 PM »
    I found HTML code for a hit counter and it works.

    But I did not find anything telling me what every line means and does.
    Here is the code

    a href="http://www.bitwiselogic.com/"><img src="http://www.bitwiselogic.com/freetools
    /hitcounter-d_bigwave-siteid_9464.jpeg" alt="Professional Web Design" border="0" />[/url]

    kpac

    • Web moderator
    • Moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: Web Site help
    « Reply #1 on: September 16, 2008, 09:33:39 AM »
    Well, the <a> tag is a link on the page, but in this case an image is the link, because of the <img /> tag.

    In the <a> tag, the "href" attribute is where the links actually brings you when you click on the image.

    In the <img /> tag, the "src" attribute is the source of the image (where the image is located), the "alt" attribute is the text displayed when there is an error loading the image, and/or when you mouseover the image, and the "border" attribute image is self explanitory.

    Do you understand it now?

    Google



      Mentor

      Thanked: 2
      • Certifications: List
      • Experience: Experienced
      • OS: Windows 7
      Re: Web Site help
      « Reply #2 on: September 16, 2008, 06:51:06 PM »
      Pretty self-explanitory...

      ChrisXPPro



        Adviser

      • Forever Learning
      • Thanked: 4
        • ACB Systems
      • Computer: Specs
      • Experience: Experienced
      • OS: Windows XP
      Re: Web Site help
      « Reply #3 on: September 16, 2008, 07:33:01 PM »
      Pretty self-explanatory...

      Yep - maybe - but just not to everyone!!!  ::)
      Ain't technology great - until it goes wrong!

      nymph4

        Topic Starter


        Specialist

        Re: Web Site help
        « Reply #4 on: September 16, 2008, 09:40:37 PM »
        I still don't understand yet.

        This code put a Hit Counter on my web page  and I know the code is a Link to the web site ware the picture of the counter is.

        Just like if I put a picture on my page the link points to ware the picture realy is.

        But how is it counting Hits is it doing it on there Server and sending the Data back to my page??

        soybean



          Genius
        • The first soybean ever to learn the computer.
        • Thanked: 469
        • Computer: Specs
        • Experience: Experienced
        • OS: Windows 10
        Re: Web Site help
        « Reply #5 on: September 17, 2008, 05:41:35 AM »
        They're not sending data back to your page.  They're just counting the number of times the image you inserted on your page is requested from their server, which would be everytime someone views your page.

        nymph4

          Topic Starter


          Specialist

          Re: Web Site help
          « Reply #6 on: September 17, 2008, 02:04:52 PM »
          Is there a way I can make my own Photo of numbers and put it ware my web pages are in the same Directory.

          And have it Count when people come to my site just like they are doing or do you need a Program to make that kind of thing work?

          kpac

          • Web moderator
          • Moderator


          • Hacker

          • kpac®
          • Thanked: 184
            • Yes
            • Yes
            • Yes
          • Certifications: List
          • Computer: Specs
          • Experience: Expert
          • OS: Windows 7
          Re: Web Site help
          « Reply #7 on: September 17, 2008, 02:08:49 PM »
          Do you know CGI or Perl? PHP or ASP?

          nymph4

            Topic Starter


            Specialist

            Re: Web Site help
            « Reply #8 on: September 17, 2008, 03:02:35 PM »
            CGi Computer Graphic Image  I do computer Graphics and make Animation.

            But I think this is not what you are talking about right?
            What did you meen

            ChrisXPPro



              Adviser

            • Forever Learning
            • Thanked: 4
              • ACB Systems
            • Computer: Specs
            • Experience: Experienced
            • OS: Windows XP
            Re: Web Site help
            « Reply #9 on: September 17, 2008, 05:34:12 PM »
            Butting in re kpac's answer.

            He means Perl - which is often simply referred to as CGI ... or PHP ... two useful scripting languages.

            However, if you do some searches you may well find a premade CGI file that will work for you - and it will probably have to reside in "cgi_bin" folder - often supplied by some hosts - then you call that file as an include in a page you want hits counted on.  These will usually generate an incrementing text file, the results of which can be displayed or kept invisible - just text tho - not an image.  The file will have to have chmod set up for write as well as read.

            Otherwise - why not try http://www.statcounter.com/ .... free service - easy to set up the code block and, results get stored as log files for analysis.  This could be your easiest route unless you want fancy schmancy images.  There are other sites tho which offer a variety of images ... worth a google.
            Ain't technology great - until it goes wrong!

            kpac

            • Web moderator
            • Moderator


            • Hacker

            • kpac®
            • Thanked: 184
              • Yes
              • Yes
              • Yes
            • Certifications: List
            • Computer: Specs
            • Experience: Expert
            • OS: Windows 7
            Re: Web Site help
            « Reply #10 on: September 18, 2008, 10:14:24 AM »
            Butting in re kpac's answer.

            He means Perl - which is often simply referred to as CGI ... or PHP ... two useful scripting languages.

            Thanks.... ;D

            Who is your website hosted with? Does it have cPanel installed?