佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 1113|回复: 6

想问template意见...

[复制链接]
发表于 28-4-2007 01:15 AM | 显示全部楼层 |阅读模式
我的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.

有什么建议吗?
回复

使用道具 举报


ADVERTISEMENT

发表于 28-4-2007 11:21 AM | 显示全部楼层
可以用 server.execute("[fileName.asp]")
回复

使用道具 举报

 楼主| 发表于 28-4-2007 03:23 PM | 显示全部楼层
谢谢了...
是我想要的...

顺便
我想问好像friendster
www.friendster.com/UserName.

friendster 那么多user, 难道要create那么多folder给每个user?
回复

使用道具 举报

发表于 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
回复

使用道具 举报

Follow Us
 楼主| 发表于 15-5-2007 12:41 AM | 显示全部楼层
原帖由 vampcheah 于 12-5-2007 12:49 AM 发表
用HTACCESS 改URL 的 VARIABLE



php在 linux 才能用 HTACCESS 吗?
asp在 windows ?呢?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 26-9-2025 12:50 AM , Processed in 0.129336 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表