CCount won't work
Try this one:
http://www.phpjunkyard.com/extras/chmod.zip
Then try opening the "write.php" one again.
http://www.phpjunkyard.com/extras/chmod.zip
Then try opening the "write.php" one again.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Do I just need to upload it to my server?
Ok, I've uploaded it.
http://www.my-stuff.be/ccount/write.php
Nothing changed.
Ok, I've uploaded it.
http://www.my-stuff.be/ccount/write.php
Nothing changed.
Did you upload the chmod.php one? I can't open it:
http://www.my-stuff.be/ccount/chmod.php
http://www.my-stuff.be/ccount/chmod.php
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Hmm, I did upload it, but it disappeared! lol Anyway
http://www.my-stuff.be/ccount/chmod.php
http://www.my-stuff.be/ccount/write.php
http://www.my-stuff.be/ccount/chmod.php
http://www.my-stuff.be/ccount/write.php
I believe that means your host doesn't allow PHP scripts to write to files (I know everyone is having problems with PHP scripts file handling at GoDaddy hosting).
I suggest you contact your host and ask if writing to files from PHP scripts (using fopen()) is disabled. You can even give them the URLs of these test scripts (fopen.php, chmod.php, write.php)
Please post back their answer.
I suggest you contact your host and ask if writing to files from PHP scripts (using fopen()) is disabled. You can even give them the URLs of these test scripts (fopen.php, chmod.php, write.php)
Please post back their answer.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Woops, sorry, the topic starter does, not you 

Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 1
- Joined: Tue Mar 27, 2007 5:20 pm
A BUG?
I have this problem too.
Can't open the id file (ids.txt) for reading!
http://www.shayan-soft.com/ccount11/fopen.php
OK
http://www.shayan-soft.com/ccount11/write.php
OK
http://www.shayan-soft.com/ccount11/phpinfo.php
*************
I found that fopen with "rb" parameter is ok,but with "wb" not working
Can't open the id file (ids.txt) for reading!
http://www.shayan-soft.com/ccount11/fopen.php
OK
http://www.shayan-soft.com/ccount11/write.php
OK
http://www.shayan-soft.com/ccount11/phpinfo.php
*************
I found that fopen with "rb" parameter is ok,but with "wb" not working
"rb" is for reading (binary-safe), "wb" is for writing. If wb doesn't work it means the script doesn't have permission to write to the file.
Make sure files clicks.txt and ids.txt are writable by the script. Since you're on Windows server CHMOD won't help so you might want to ask your host to set the permissions.
Make sure files clicks.txt and ids.txt are writable by the script. Since you're on Windows server CHMOD won't help so you might want to ask your host to set the permissions.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Followed all instructions above and all OK but counter wont
I am hosted at Godaddy but here are the PHP files you said to upload and check
http://www.cancermusic.org/ccount/phpinfo.php
http://www.cancermusic.org/ccount/fopen.php
http://www.cancermusic.org/ccount/write.php
http://www.cancermusic.org/ccount/chmod.php
My download /Link page is
http://www.cancermusic.org/down.htm
This still will not add download or clicks to the page....sorry would appreciate any help.
Nat
http://www.cancermusic.org/ccount/phpinfo.php
http://www.cancermusic.org/ccount/fopen.php
http://www.cancermusic.org/ccount/write.php
http://www.cancermusic.org/ccount/chmod.php
My download /Link page is
http://www.cancermusic.org/down.htm
This still will not add download or clicks to the page....sorry would appreciate any help.
Nat
Everything seems to be fine - id counts the download and shows number of downloads on your page. Not sure what the problem is?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Hi Klemen,
have followed all steps of uploads e.g. fopen, chmod, info and write. But have still the usual error. Have GoDaady as host.
All is at www.mombasanorthcoast.com/ccount password: admin
Regards
Pietro
have followed all steps of uploads e.g. fopen, chmod, info and write. But have still the usual error. Have GoDaady as host.
All is at www.mombasanorthcoast.com/ccount password: admin
Regards
Pietro
Hi,
The problem with GoDaddy is they have some PHP functions to work with files disabled on some servers so no script that uses files works there. Contact them and ask if fopen() for PHP is disabled on your server and if yes, they should move you to a Linux server with file functions enabled.
The problem with GoDaddy is they have some PHP functions to work with files disabled on some servers so no script that uses files works there. Contact them and ask if fopen() for PHP is disabled on your server and if yes, they should move you to a Linux server with file functions enabled.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools