查看: 1113|回复: 6
|
想问template意见...
[复制链接]
|
|
我的coding是asp,
<% if strTemplate="style1" then %>
<#Include file="style1/index.asp">
<% if strTemplate="style2" then %>
<#Include file="style2/index.asp">
<% else %>
<#Include file="default/index.asp">
<% end if %>
但 #file 的 code 会run先,才到asp server script 跑...
所以我会面对 re-define var, function。因为3个file都会include.
有什么建议吗? |
|
|
|
|
|
|
|
发表于 28-4-2007 11:21 AM
|
显示全部楼层
可以用 server.execute("[fileName.asp]") |
|
|
|
|
|
|
|

楼主 |
发表于 28-4-2007 03:23 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 11-5-2007 10:30 PM
|
显示全部楼层
原帖由 eastken 于 28-4-2007 03:23 PM 发表
谢谢了...
是我想要的...
顺便
我想问好像friendster
www.friendster.com/UserName.
friendster 那么多user, 难道要create那么多folder给每个user?
不是folder啦 |
|
|
|
|
|
|
|

楼主 |
发表于 11-5-2007 11:59 PM
|
显示全部楼层
原帖由 quantum^_^ 于 11-5-2007 10:30 PM 发表
不是folder啦
那么要如何做到这样的?
请指教。。 |
|
|
|
|
|
|
|
发表于 12-5-2007 12:49 AM
|
显示全部楼层
用HTACCESS 改URL 的 VARIABLE |
|
|
|
|
|
|
|

楼主 |
发表于 15-5-2007 12:41 AM
|
显示全部楼层
原帖由 vampcheah 于 12-5-2007 12:49 AM 发表
用HTACCESS 改URL 的 VARIABLE
php在 linux 才能用 HTACCESS 吗?
asp在 windows ?呢? |
|
|
|
|
|
|
| |
本周最热论坛帖子
|