Ping from a website

Discussion in 'PHP' started by screamfine, Sep 4, 2007.

  1. #1
    Hi there,

    I'm looking for a script (php) or any tipp on how to send a ping to pingomatic etc. from a website (news site) every time a new articles has been posted. Can you help me?!
     
    screamfine, Sep 4, 2007 IP
  2. jsamdirect

    jsamdirect Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could use the exec or system function. Simple add some code that pings when a article is added.

    http://us.php.net/manual/en/function.exec.php
    http://us.php.net/manual/en/function.system.php
     
    jsamdirect, Sep 6, 2007 IP