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!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Geeklog does not support PHP in the footer.

bye, Dirk
 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?
 Quote

suprsidr

Anonymous
How about a javascript counter?
 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.
 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
 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)?
 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