Made for administrator or browser use?
Started by G.9, Dec 31 2005 09:33 PM
12 replies to this topic
#1
Posted 31 December 2005 - 09:33 PM
http://www.pixel2life.com/tutorials/PHP_Co...1&ss=statistics
For the statistics script, is that for the webmaster or can it be displayed on a site for browser use as well?
For the statistics script, is that for the webmaster or can it be displayed on a site for browser use as well?
#2
Posted 01 January 2006 - 12:05 AM
both, making your own means that you can display the stats on a website as well...
#3
Posted 01 January 2006 - 12:43 AM
How would I adjust it for a site?
#4
Posted 01 January 2006 - 01:16 AM
Personally, i wouldn't even think to use it. It's way to lengthy for the average user, and most servers have pre-installed statistics scripts anyway. If you're using cPanel, they is a section that deals with nothing but statistics.
But if you're interested in writing your own script just for fun, i'd look at the following section in the tutorial database. It will have more, smaller scripts that will work just as good.
http://www.pixel2life.com/tutorials/PHP_Co...tion_and_Stats/
But if you're interested in writing your own script just for fun, i'd look at the following section in the tutorial database. It will have more, smaller scripts that will work just as good.
http://www.pixel2life.com/tutorials/PHP_Co...tion_and_Stats/
#5
Posted 01 January 2006 - 11:51 AM
It is true that I have a script preinstalled and that it is accessible to me at any time... but I want to create something that browsers can see.
#6
Posted 02 January 2006 - 07:31 AM
well, the link you posted will just work fine, just put it on your main site, if you want it be viewable for an admin only, just secure it with a password.
#8
Posted 02 January 2006 - 07:47 PM
and nothing, just put the information into a database or textfile and then echo it on your frontpage
#9
Posted 02 January 2006 - 07:51 PM
Avalanche, on Jan 3 2006, 12:47 AM, said:
and nothing, just put the information into a database or textfile and then echo it on your frontpage
#10
Posted 02 January 2006 - 07:58 PM
<?php ehco 'filename.txt'; ?>
Will paste whatever is in the textfile into the spot where you put the above code
#11
Posted 02 January 2006 - 08:35 PM
Okay... I don't believe the tutorial provides what information to paste into this .txt file.
#12
Posted 02 January 2006 - 11:11 PM
echo 'filename.txt' with not paste anything from that text file. It will simply display 'filename.txt' on the screen, nothing more.
And a couple words of advice.
1. Don't use the statistics script, it's far to complicated. Mix and match the tutorials from the link i provided.
2. php.net is a developers best (and probably only) friend.
http://php.net/echo <-- the echo function
And a couple words of advice.
1. Don't use the statistics script, it's far to complicated. Mix and match the tutorials from the link i provided.
2. php.net is a developers best (and probably only) friend.
http://php.net/echo <-- the echo function
#13
Posted 02 January 2006 - 11:14 PM
Thank you, I will try all of the resources you have provided.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
