Welcome to Geeklog, Anonymous Saturday, November 23 2024 @ 02:48 pm EST
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!
11
12
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?
10
10
Quote
suprsidr
Anonymous
How about a javascript counter?
12
11
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.
8
12
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
8
9
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)?
7
11
Quote
All times are EST. The time is now 02:48 pm.
- 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