GetDotted Domains

Viewing Thread:
"php help"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Sat 02/03/02 at 21:37
Regular
Posts: 787
Can anyone please help. I have copied the coding from freeola help pages to display a counter on my site using php. I pasted it into my html code and renamed the file using .php extention when I upload this page all I can see is the code being displayed. What am I doing wrong?
Mon 04/03/02 at 20:09
Regular
"Eff, you see, kay?"
Posts: 14,156
Nae probs. Have fun!

Oh, and if you need any more help, you know where to come. We da PHP Masterz of Ceremony, erm, BO! :-)
Mon 04/03/02 at 16:01
Posts: 0
A Big Big Big Thanks to turbonutter and cjh it's working
Thanks for sticking with me.
Mon 04/03/02 at 15:46
Regular
"It goes so quickly"
Posts: 4,083
goto notepad, and save a file as hits.txt

Upload that file into the same place as your counter script.
Mon 04/03/02 at 15:42
Posts: 0
As you can tell absolute beginer
do you mean change my file testcnt.php to hits.txt
or do I ceate another file called hits.txt if so whats in the file and were do I put it
Mon 04/03/02 at 15:30
Regular
"Eff, you see, kay?"
Posts: 14,156
Nononono:

Find the line:

$hitsfile = "";

and replace with:

$hitsfile = "hits.txt";

Now, create a file called "hits.txt", upload it and give it 666 permissions.
Mon 04/03/02 at 15:18
Posts: 0
Highlighted my file on server testcnt.php gave it 666 permision using cuteftp but still same messages
Mon 04/03/02 at 14:49
Regular
"Eff, you see, kay?"
Posts: 14,156
CHMOD 666 the file "hits" with your FTP program.
Mon 04/03/02 at 14:46
Posts: 0
Hi again Pain in the Arssssss back

Now have this displayed

Warning: fopen("/freeola/users/6/1/sr0143116/htdocs/test/hits", "w") - Permission denied in /freeola/users/6/1/sr0143116/htdocs/test/testcnt.php on line 22

Warning: Supplied argument is not a valid File-Handle resource in /freeola/users/6/1/sr0143116/htdocs/test/testcnt.php on line 23
Mon 04/03/02 at 14:26
Regular
"Eff, you see, kay?"
Posts: 14,156
Cheers!
Mon 04/03/02 at 14:14
Regular
"It goes so quickly"
Posts: 4,083
Ops missed that one, that was my fault, sorry about that. :o).

Nice one Rob.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Everybody thinks I am an IT genius...
Nothing but admiration. I have been complimented on the church site that I manage through you and everybody thinks I am an IT genius. Your support is unquestionably outstanding.
Brian
Second to none...
So far the services you provide are second to none. Keep up the good work.
Andy

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.