Dr.MAD
11-25-2003, 03:26 AM
Besides of the search bar (which I'm still trying to fix yet) I'd like to add a counter on my webpage. I got an easy PHP counter for which I had to upload a counter.php file and a counter.txt file on my webserver.
They don't say WHERE on my webserver, but I guess it's simply in the main folder.
Then, they say that I have to include a line in my HTML file... a line reading
include("ezcounter.php");
But where do I insert that stuff? Do I have to do it like this?
<html>
<head>
<title>B-L-A-H</title>
</head>
<body >
WEBPAGE CONTENT
include("counter.php");
</body>
</html>
I'm sorry if this sounds a n00b question, but I don't know stuff about PHP (we'll probably only learn that next year at school :()
EDIT: forgot to add: they also tell me I have to CHMOD the text-file to 777 (all rights) I know what CHMOD is, but I have NO IDEA how to CHMOD a file in Windows
Any help will greatly be appreciated :D
They don't say WHERE on my webserver, but I guess it's simply in the main folder.
Then, they say that I have to include a line in my HTML file... a line reading
include("ezcounter.php");
But where do I insert that stuff? Do I have to do it like this?
<html>
<head>
<title>B-L-A-H</title>
</head>
<body >
WEBPAGE CONTENT
include("counter.php");
</body>
</html>
I'm sorry if this sounds a n00b question, but I don't know stuff about PHP (we'll probably only learn that next year at school :()
EDIT: forgot to add: they also tell me I have to CHMOD the text-file to 777 (all rights) I know what CHMOD is, but I have NO IDEA how to CHMOD a file in Windows
Any help will greatly be appreciated :D