![]() |
|
|||
|
Let me explain what it is doing first.. I have this script on main.php.... It works just fine on that document. When I click on a link to get on another page (which has the include) such as uhh main.php?other, the counter goes haywire. The total number of visitors goes off and is replaced with the [invalid parameters] tag. Here is my code. Please examine. Please help!!
# run script if (getenv('QUERY_STRING') == '') { takeLog(); # take log } elseif (strtolower(getenv('QUERY_STRING')) == 'stat') { viewStat(); # view statistics } else { # exit when script is called with invalid parameter print '[This is that invalid SHIT]'; } |
|
|||
|
Quote:
example: Code:
include("http://full_url(!)/counter.php?action=stat); include("http://full_url(!)/counter.php); If I misunderstood you, srry |
![]() |
| Thread Tools | |
| Display Modes | |
|
|