Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

See as View

by freak
on May 03, 2004 at 22:51 UTC ( #350169=perlquestion: print w/ replies, xml ) Need Help??
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)) ?

Comment on See as View
Replies are listed 'Best First'.
Re: See as View
by b10m (Vicar) on May 03, 2004 at 22: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 ;-)


    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.


        All code is usually tested, but rarely trusted.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://350169]
Approved by matija
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2015-12-01 07:45 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (795 votes), past polls