Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Create a pinger url?

where do I start?



12:46 am on Jun 28, 2005 (gmt 0)

10+ Year Member

I'd like to setup a pinger url, but don't know where to start.

What I'd like to do is as follows. Everytime a new entry is entered into a database (whether entered automatically with URL variables or through a webform) a url is "pinged" with the new information.

For example, say I enter the following items into a database

Entry1 Entry2 Entry3

A url is generated similar to the link below


and executes it self by visiting another predefined url with the newly entered information. Where do I begin and what's the best method of accomplishing this?


8:06 am on Jun 28, 2005 (gmt 0)

10+ Year Member

What is it exactly that you have problem with?

Generating of url or visiting it (you can use header("Location: http://www.example.com/"); ) for this purpose?


1:38 am on Jun 30, 2005 (gmt 0)

10+ Year Member

I don't know how I would set up the code to "ping" the url everytime there is a new item entered into the database.

I know what code to use to actually execute the ping (header location), but not how to execute the command that tells it to do it.


7:09 am on Jun 30, 2005 (gmt 0)

10+ Year Member

What is the purpose? What are you trying to achive?


7:03 am on Jul 2, 2005 (gmt 0)

10+ Year Member

Everytime a specific action occurs, a url of mine is pinged with the new data which then gets inserted into a database. From there I would like to ping another url with the new database information from that entry.


11:01 pm on Jul 3, 2005 (gmt 0)

10+ Year Member



4:22 am on Jul 4, 2005 (gmt 0)

10+ Year Member

try to add your pinger code after the insert part in the database ...

mysql_query("insert .... statement");

if(mysql_insert_id() > 0){

your ping script here ...



Featured Threads

Hot Threads This Week

Hot Threads This Month