Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.
have the external site reference a script that supplies the data, and use that script to do the hit count addition.
For instance, you want to hit count an image. So you give them a link that's an image output script. It reads the data asked for, and dumps out the proper image headers and binary data. It also updates the database that someone requested said image.
All of those links I looked through previously, and couldnt see how they were relevent, they were mainly asking about how to increment download numbers.
Although this might be (and probably is) what I need, I still dont know how to implament it.
the threads I linked to were to help you start the implementation, by helping you create a script where you can output an image... once you have that, you just need to add the hit counting database query, which is pie.
Okay, way over my head. Sorry to hijack the thread, but quick question - would it then work if the db code was before the echo and header bit? Newbie out.