Simple Visitor Counter - English

Play
Current Time 0:00
/
Duration Time 0:00
Remaining Time -0:00
Loaded: 0%
Progress: 0%
0:00
Fullscreen
00:00
Mute
Captions
  • captions off
  • English

9935 visits



Outline:

Simple Visitor Counter Counts how many users have viewed your page as per count of refresh button clicked fopen("file_name","parameter") opens a file (Creates it if not exists).parameter assigns the mode, w for writting mode, a for append mode file_get_contents("file_name")- This function is used to obtain content from the file. fwrite("file_name",variable) - This function writes into the file value present in variable.