|
Posted by Krustov on 10/05/07 20:55
<comp.lang.php>
<Krustov>
<Fri, 5 Oct 2007 21:30:25 +0100>
<MPG.2170af17c04fa32a98ad6f@news.newsreader.com>
> > to be much more clearer in my question,
> > what I want to do is that I want to provide anybody who have a website
> > a small counter to use on his website that the source of the cunter is
> > on my hosting area and just what the other websites have is a
> > javascript that calls a small text file located on my area to add
> > counts so that the users will be using a service offered for free by
> > my website, like the freecounters offered by the websites to anybody,
> > but what I want is just very simple way without registration or
> > anything, just copy and paste a small piece of code
> >
>
> Javascript is a bad idea as some users disable it for security reasons .
>
> The good news is you can do it using a url like
> http://www.poop.com/hc/username as all the end user webpage would be
> doing is pulling a stored number from your own website .
>
> Your own website would be doing the 1+1 and storing the hit / count .
>
<div align="center"><iframe src="http://www.poop.com/hc/username">
</iframe></div>
As the chances are the user wont be using .php webpages then <iframe>
could be the best way to do it .
--
www.vhit.co.uk
www.phpwhois.co.uk
www.outerlimitsfan.co.uk
www.cannabiswindow.co.uk
Navigation:
[Reply to this message]
|