feha
|
Posted: 10/28/2003, 3:01 AM |
|
Is there any way to change include file / page on-fly ?
Based on CCGetParam("page","");
example
?page=myLinks.php ...
With in CCS project
PHP ...
feha
regards
[www.vision.to]
|
|
|
ryan
|
Posted: 10/29/2003, 3:21 AM |
|
I dunno how you do this with PHP though
http://psacake.com/web/fn.asp
|
|
|
feha
|
Posted: 10/29/2003, 3:36 AM |
|
This is easy task in pure PHP ... I wanted to make it with in CCS project ...
The http://server/thefile.asp?include=myinclude.htm
in PHP should work as this (but not htm shuld be .php
if(CCGetParam("include",""))
{
$include_file=("CCGetParam("include","");
include("$include_file");
}
call it as http://server/index.php?include=myinclude.php
The problem is there is no support in CCS project
Except you must handcode...
Teh Second I would like to change the include name on-fly ....
|
|
|
|