Welcome to Geeklog, Anonymous Wednesday, August 12 2026 @ 07:33 am EDT
Geeklog Forums
PHP in footer.thtml?
Theophile
Anonymous
Hello. What would I have to do to put a line of php into the footer? I would like to use a hit counter that uses PHP. Thanks!
32
30
Quote
Theophile
Anonymous
Um, okay.
Well does anyone have any suggestions for getting a line of php to be executed on every page a visitor can view?
Well does anyone have any suggestions for getting a line of php to be executed on every page a visitor can view?
22
28
Quote
suprsidr
Anonymous
How about a javascript counter?
26
27
Quote
Theophile
Anonymous
Yeah, that's what I'm currently using, but the php "version" gets all the folks (and bots) that don't execute javascript.
23
25
Quote
Status: offline
suprsidr
Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
The only other way I can think of, would be to have your server append every page with a secondary footer.
Or put it elsewhere on your page, like the last bottom block on the right.
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
Or put it elsewhere on your page, like the last bottom block on the right.
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
26
30
Quote
Theophile
Anonymous
Hmm, that's not a bad idea. I could add the counter line to a phpblockm that's already in a laft block, so that it always displays. Can anyone think of an instance in which a page will load without left blocks (assuming they aren't explicity disabled)?
20
25
Quote
All times are EDT. The time is now 07:33 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content