Creating a callback

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
simonj
Forum Newbie
Posts: 2
Joined: Thu Jul 23, 2009 2:48 pm

Creating a callback

Post by simonj »

Hi everyone!

I am making a CMS, and I'm currently taking it from a closed beta to an open beta. Thing is, I would like to keep track of who are using it, and where.

The CMS has an install part, and I was thinking that somewhere in that installation I could call my main website and somehow register that call, or even simpler, just being able to browse the "calls" by using urchin/webstat of some sort (I'm on a media temple server).

So any ideas on the easiest way to do this? I would like to do it without having to include any libraries or so, since I want to keep the size of the CMS down.

Thanks for any answers/
Simon J
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Creating a callback

Post by requinix »

What's to stop the person testing it from removing that call? They should be looking through your code before running it, of course.

Rather then do it there, make people register (however you define that) to download the code.
simonj
Forum Newbie
Posts: 2
Joined: Thu Jul 23, 2009 2:48 pm

Re: Creating a callback

Post by simonj »

Well, I don't really want to bother with creating a registration, and also, what stops the user from entering an invalid homepage at registration?

There might always be people who disable the callback, but most won't even bother, and that would be good enough for me. :)
Post Reply