View Single Post
02-06-2007, 06:37 PM
#20
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

An API is just as easy to make as a "normal" PHP page, the only difference is that the intended audience is a machine rather than a person browsing your site. Instead of outputting HTML, you'll just as likely be outputting XML (JSON, PHP, plain text or, yes, HTML).

I'm still not clear what you're trying to achieve. Is it just that whenever your PHP script is executed (on lots of different websites) they "call home" and update something (hit counter in DB, possibly)?