Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 12:58 am EST

Geeklog Forums

Staticpage - html and php


Status: offline

cinoz

Forum User
Chatty
Registered: 09/07/04
Posts: 61
hi.. in staticpage, i saw "all HTML format Allowed".. does this mean if i want to use some php coding in my html in the staticpage will be allowed??
 Quote

Status: offline

cinoz

Forum User
Chatty
Registered: 09/07/04
Posts: 61
cuurently, i want to make new database and fetch the data into my one of my staticpage. i think i'm going to add new php script in the html that i develop. can this possible using in staticpage?
 Quote

Status: offline

jonc

Forum User
Chatty
Registered: 09/12/04
Posts: 50
There is a lot of useful info on using PHP in static pages:

here

you basically have to turn that function on, it is normally off as it does pose a lot of security risks.
 Quote

Status: offline

cinoz

Forum User
Chatty
Registered: 09/07/04
Posts: 61
thanx.. n currently, i develop a contact us form in one of my staticpages.. i use to call another php file in the html code.. it's seems like half working, enable to load php page, but didn't send msg to the administrator email.. that might be another problem..
 Quote

Status: offline

cinoz

Forum User
Chatty
Registered: 09/07/04
Posts: 61
ermm.. one more thing, this also mean i can make another database and connect to it using the staticpage rite?
 Quote

Status: offline

jonc

Forum User
Chatty
Registered: 09/12/04
Posts: 50
Quote by cinoz: ermm.. one more thing, this also mean i can make another database and connect to it using the staticpage rite?


Yea, you can use any php in that block that you want. Be careful what global variables you assign though.
 Quote

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