1
jfebus
Where to include a php file ?
  • 2004/9/23 17:37

  • jfebus

  • Just popping in

  • Posts: 97

  • Since: 2004/9/1 1


Hi All

I need to enter
<?php require("/stats/stats.php"); ?>
in the pages presented by xoops.

Which page I need to modified?

Best regasrds,

2
tjnemez
Re: Where to include a php file ?
  • 2004/9/23 19:11

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


this may help, your content would be html so an iframe tag might be in order:

http://wiki.xoops.org/wakka.php?wakka=XoopsStaticContent

3
jfebus
Re: Where to include a php file ?
  • 2004/9/23 19:30

  • jfebus

  • Just popping in

  • Posts: 97

  • Since: 2004/9/1 1


the purpose of the requiere() file is just to update a stats package, no output will be send back to the user.

Any ideas?

4
tjnemez
Re: Where to include a php file ?
  • 2004/9/23 19:55

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


not sure on this one.

5
ackbarr
Re: Where to include a php file ?

/header.php and /footer.php are included in every page in a XOOPS site. They would be good candidates to add your include to. Given the choice I'd recommend /footer.php

Login

Who's Online

94 user(s) are online (65 user(s) are browsing Support Forums)


Members: 0


Guests: 94


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits