CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Change Include page on-fly

Print topic Send  topic

Author Message
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 ....



   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.