推荐:怎样隐藏图片的真实地址一般情况下,网站的图片代码是这样的。 以下为引用的内容: img src=./attachments/test.jpg />
一个网站空间,但是却可以实现多个域名的访问的一段ASP代码:
| 以下为引用的内容: <% if Request.ServerVariables(SERVER_NAME)=www.abc.com then response.redirect abc/ else if Request.ServerVariables(SERVER_NAME)=www.123.com then response.redirect 123/ else if Request.ServerVariables(SERVER_NAME)=www.456.com then response.redirect 456/ end if end if end if %> |
分享:ASP教程:自己写的数据库操作类数据库操作类在网上一搜一大把,我这并不比那些好,只是是自己写的,用着更习惯。所以我这个类没有什么特别的地方,只是自己用着习惯罢了,至于效率等方面,欢迎赐教!!程序代码: