Increment counter via GET-Request?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tim Hussein

    Increment counter via GET-Request?

    Hi,

    this is my situation:

    I have a counter on my MAIN page. It is incremented by requesting a certain
    "picture" which is the output of a script. I can do this manually with:



    This increments the counter.

    This is my wish:

    I have another page with a discussion board. The address is something like
    http://board.mydomain.com. Now I want to add these hits to those of the
    counter.

    My idea is to write a script which does something like:

    <?php
    send GET-request to increment the counter (invisible for the user);
    redirect to the board;
    ?>

    Is this possible? How do I do this?

    It would be great if someone could help me.

    Greetings,


    Tim
  • jn

    #2
    Re: Increment counter via GET-Request?

    "Tim Hussein" <aladdin@bigfoo t.de> wrote in message
    news:bn1df0$s4o pe$1@ID-144336.news.uni-berlin.de...[color=blue]
    > Hi,
    >
    > this is my situation:
    >
    > I have a counter on my MAIN page. It is incremented by requesting a[/color]
    certain[color=blue]
    > "picture" which is the output of a script. I can do this manually with:
    >
    > http://www.mydomain.com/script.php?id=123456&vid=987654
    >
    > This increments the counter.
    >
    > This is my wish:
    >
    > I have another page with a discussion board. The address is something like
    > http://board.mydomain.com. Now I want to add these hits to those of the
    > counter.
    >
    > My idea is to write a script which does something like:
    >
    > <?php
    > send GET-request to increment the counter (invisible for the user);
    > redirect to the board;
    > ?>
    >
    > Is this possible? How do I do this?
    >
    > It would be great if someone could help me.
    >
    > Greetings,
    >
    >
    > Tim
    >[/color]

    Why don't you just add that counter picture to the board's template
    somewhere?


    Comment

    Working...