I am having trouble trying to find where i can put a include statement fo a php ip tracker file I have tested it and it works but cant find where i can put the include in either the header or footer php
Trying to add this so it will track desktop and mobile
Would rather not put it it in indexmobil or indexdesktop.php trying to use include once filename
Where can i put a include statement
-
FSC830
- Forecaster

- Posts: 195
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Where can i put a include statement
Actually it is unclear (at least for me) what you ant to achieve...
Where should this tracker be visible?
The header.php contains already some "include" commands, why not adding yours at this section?
Regards
Where should this tracker be visible?
The header.php contains already some "include" commands, why not adding yours at this section?
Regards
-
spd2612
- Forecaster

- Posts: 192
- Joined: Thu Jan 23, 2020 4:00 pm
- Location: Jonesboro Ar
- Station model: Davis Pro 2
- Software: Meteobridge Pro 2
- Contact:
Re: Where can i put a include statement
Well I tried that and it breaks it
I just want to be able to monitor all connections to my site but dont want to have to log into the vm to see the access logs
I dont want to print them to the site just to a txt file
I just want to be able to monitor all connections to my site but dont want to have to log into the vm to see the access logs
I dont want to print them to the site just to a txt file
-
FSC830
- Forecaster

- Posts: 195
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Where can i put a include statement
Very unusual that an include breaks something, except the file which is to be included has an error or is not compatible in some way.
The syntax is correct?
The include contains a correct path and the tracker is located in that path?
And where at the page should the file (or the outcome) be visible?
Regards
The syntax is correct?
The include contains a correct path and the tracker is located in that path?
And where at the page should the file (or the outcome) be visible?
Regards
-
spd2612
- Forecaster

- Posts: 192
- Joined: Thu Jan 23, 2020 4:00 pm
- Location: Jonesboro Ar
- Station model: Davis Pro 2
- Software: Meteobridge Pro 2
- Contact:
Re: Where can i put a include statement
Thank you for the reply
I got it to work but i put the entire code at the top of the index pages
With all the inconsistency in php version, plugins and modules it is amazing it runs as well as it does
I got it to work but i put the entire code at the top of the index pages
With all the inconsistency in php version, plugins and modules it is amazing it runs as well as it does