PHP & Pingomatic

Discussion in 'PHP' started by voxxxlll, Sep 5, 2010.

  1. #1
    voxxxlll, Sep 5, 2010 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,758
    Likes Received:
    4,519
    Best Answers:
    123
    Trophy Points:
    665
    #2
    The idea is that when you save your new page etc you include a call to that script and it will broadcast via ping that you have new content.
     
    sarahk, Sep 6, 2010 IP
  3. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    #3
    That's right.

    So when a new page is published on your system, you need to call the function.

    example:
    
    mysql_query('INSERT INTO .............');
    pingomatic($title,$url,$debug=false);
    
    PHP:
    hope this helps
     
    stephan2307, Sep 7, 2010 IP