Welcome to Geeklog, Anonymous Friday, January 10 2025 @ 04:03 am EST
Geeklog Forums
Static Pages' PHP Parameters
Status: offline
LWC
Forum User
Full Member
Registered: 02/19/04
Posts: 818
When creating Static Pages with PHP enabled, are there any parameters I can use while inside PHP code?
If so, please write here the full list of parameters (a parameter for the static page's id, one for its title name, etc.).
Thanks!
If so, please write here the full list of parameters (a parameter for the static page's id, one for its title name, etc.).
Thanks!
5
10
Quote
Status: offline
LWC
Forum User
Full Member
Registered: 02/19/04
Posts: 818
Shouldn't it be by $_SERVER['QUERY_STRING']?
How do I use the parameters with $_GET?
And there's only so much parameters I can send in a query string. Besides, I send a query string/flashvars to a flash file, which in turn sends parameters into a static page...
It looks like:
So I can deliver one parameter, but as soon as I use the character "&", Flash will "kidnap" whatever's following it to itself.
But again, even if I only worked in HTML, it'd still be nice to use built in parameters like I can in the templates.
So are there no built in parameters at all for Static Pages?
How do I use the parameters with $_GET?
And there's only so much parameters I can send in a query string. Besides, I send a query string/flashvars to a flash file, which in turn sends parameters into a static page...
It looks like:
Text Formatted Code
param name="flashvars" value="url=http://mydomain/staticpages/index.php/some_subject?parameter_for_static_page&name=text for the button"So I can deliver one parameter, but as soon as I use the character "&", Flash will "kidnap" whatever's following it to itself.
But again, even if I only worked in HTML, it'd still be nice to use built in parameters like I can in the templates.
So are there no built in parameters at all for Static Pages?
6
6
Quote
All times are EST. The time is now 04:03 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