Guest Arif Posted May 8, 2010 Report Share Posted May 8, 2010 Hi.I have some questions about php.when i register for counter in other sites it give me a code to past my site.like this img src=counter.php?id=5.you know itsnt a image adres.image adres must finished like this ".jpg".how does it convert this adres-> counter.php?id=5 to image.i am waiting for your answer please.. reklam@yehuu.biz Quote Link to comment Share on other sites More sharing options...
falkencreative Posted May 8, 2010 Report Share Posted May 8, 2010 You can't change .php to .jpg -- .php is a .php language file, .jpg is an image file. If you remove the .php and make it an image instead, the counter will stop working, since it relies on PHP to track visitors. Keep in mind though, image based counters were primarily popular a couple of yours ago -- they are generally considered unprofessional. Keeping track of your visitors is fine (using Google analytics, for example) but you don't need to show that information to your visitors. They don't care how many people have been to your site. Quote Link to comment Share on other sites More sharing options...
krillz Posted May 8, 2010 Report Share Posted May 8, 2010 I think what you saw was image hidden with css displayed as a background in a div to make it harder to get. But what you saw was a simple counter, each time you visit the page tries to load the image adding a count, here is an example of it http://px.sklar.co m/code.html/id=67 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.