You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 9, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@ Free open-source web analytics with easy integration into existing PHP scripts.
3
3
## Usage
4
4
* Place webanalytics.php and websettings.php in the same directory as your own php scripts, and modify the database parameters in websettings.php.
5
5
#### OR
6
-
* Place only webanalytics.php in the same directory as your own php scripts and modify the database parameters in webanalytics.php.
6
+
* Place only webanalytics.php in the same directory as your own php scripts and modify the database parameters in webanalytics.php as well as webstatistics.php.
$web_analytics_db = new web_db_manager("mysql:dbname=database;host=127.0.0.1", "user", "password");
11
11
```
@@ -15,7 +15,7 @@ Afterwards all you need to do is including webanalytics.php in your own php scri
15
15
include "webanalytics.php";
16
16
```
17
17
18
-
After running webanalytics.php once you will see a simple report when opening webstatistics.php.
18
+
Run your script / webanalytics.php once to initialize the database tables, now webstatistics.php will show you an current analysis of your web traffic and visitors.
19
19
20
20
### Interested in using WebAnalytics as a library or in a modified way? You can disable auto run in the settings:
0 commit comments