Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 02:23 pm EST

Geeklog Forums

PHP static pages


Status: offline

ShdwRulr

Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
http://http://www.shadowrulers.com/geeklog/public_html/staticpages/index.php?page=20040210201159913
Go to www.shadowrulers.com and then use the above url.

That is a page that I am using php include on, but I was wondering if I could use both the and regular html on the static page. I want the page to have some php include inside of it, but I also want some info on the page above the php include thing, but with php enabled, the whole thing is a giant and there is no where to put in the other static info. Also, is it suppose to have the info outside of the block?
Bla bla bla
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I'd suggest you read the bit about using the "return" statement when using PHP in static pages again ...

The use of PHP has been revamped in 1.3.9.

bye, Dirk
 Quote

Status: offline

ShdwRulr

Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
cool, by the way, do you know any opening code I could use for no reason? would just a ; ?> work at the begining of the static page? Then do the HTML then go back to php?
Bla bla bla
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by ShdwRulr: would just a ; ?> work at the begining of the static page? Then do the HTML then go back to php?

Not in 1.3.8, but in 1.3.9. It's even mentioned in the documentation for Static Pages 1.4 (to which I pointed you above ...).

bye, Dirk
 Quote

All times are EST. The time is now 02:23 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