Hello Vedanta,
Thanks for the Link, I have registered and downloaded.
I will test it.
Thanks again
Michelle
Am 2005-09-12 10:33:52, schrieb Vedanta Barooah:
there is one here : http://www.phpclasses.org/browse/package/2212.html
see if it suffices your need,
thanks,
vedanta
Warning:
fopen("/home/venus/public_html/qa/doccon/doc_distribution/count.txt","w")
- Permission denied in
/home/venus/public_html/qa/doccon/doc_distribution/New.php on line 9
Check your permissions on the file. If its just a counter file, the
easiest thing to do would be to make it world
Hi Wendy,
@ 1:38:45 AM on 4/10/2001, Wen Ni wrote:
I got an example from the internet about the PHP page counter. However
after several testing on the coding, I still met the problem which I
don't understand. Please help me.
...
Hi Jack,
@ 2:44:51 AM on 4/10/2001, Jack Dempsey wrote:
...
Check your permissions on the file. If its just a counter file, the
easiest thing to do would be to make it world writeable. chmod 777
count.txt. you should then have the perms to write to it.
777 is world writable. Bad idea.
]
To: "Wen Ni" [EMAIL PROTECTED]
Sent: Tuesday, April 10, 2001 12:25 PM
Subject: Re: [PHP] page counter
Hi
Make sure that the counter file is readable by the user apache or user
nobody which ever is your default webserver user.
If it is not then just chown it to nobody or chm
At 12:28 PM 10/04/2001, you wrote:
Hi wen,
Make sure that the counter file is readable by the user apache or user
nobody which ever is your default webserver user. If it is not then just
chown it to nobody or chmod it to 777 and you are done.
The catch 22 is..
If you want security then
yes yes, bad habit i know ;-) but tis only a counter file...
sometimes it probably is just better to explain the SLIGHTLY more
complex solution in favor of starting a bad habit :-)
all the best,
jack
Brian Clark wrote:
Hi Jack,
@ 2:44:51 AM on 4/10/2001, Jack Dempsey wrote:
...
Check
In addition of all people said, I would add a lock to the file :
$cf = fopen($counter_file,"w");
flock($cf,LOCK_EX);
fputs($cf, "$counter_file_line[0]");
fclose($cf);
This to avoid another script attempt to read the file while you update it...
I had the problem, so sometimes the counter return
http://newbienetwork.net/sections.php?op=viewarticleartid=1
Read it, Learn it.
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, learn.
-Original Message-
From: Wen Ni [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 02, 2001 3:33 AM
To: [EMAIL
9 matches
Mail list logo