Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
more useful options
 
PerlMonks  

See as View

by freak (Initiate)
on May 03, 2004 at 18:51 UTC ( [id://350169]=perlquestion: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.

freak has asked for the wisdom of the Perl Monks concerning the following question:

How to make an LWP connection so that it will be counted as a View(so that the counters on the website - that counts how many people had entered - will count this connection as a View(as if someone had ectually opened this website in his browser)) ?

Replies are listed 'Best First'.
Re: See as View
by b10m (Vicar) on May 03, 2004 at 18:55 UTC

    It depends on how you define "the counters". If that is based on the webserver's logfile, nothing should be done in addition to fetching the page. If it's based on some image (sooo 1990's ;-) you will have to request the image, not the site. But that's cheating ;-)

    --
    b10m

    All code is usually tested, but rarely trusted.
      by counters i mean the little "coxes with numbers" that counts enteries to the website. and what does it mean to "fetch the page" ?

        Fetching/Requesting a page is rather simple using LWP::Simple. Please read that first, for it contains more information than I could post here. If, after that, you still have questions (which I doubt), please post the code that fails here, so we can have a look at it.

        Update: You've asked close to the same question before. Once again, please do read the documentation first, try something out and post failing code, so we could help you. We're not going to write (cheating) scripts for you here.

        --
        b10m

        All code is usually tested, but rarely trusted.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://350169]
Approved by matija
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.