不错呦!smile@林凯西,确保“准备文件”中的几个文件都有安装,S...您好,看了您这篇帖子觉得很有帮助。但是有个问题想请...我的修改过了怎么还被恶意注册呢 @jjjjiiii 用PJ快9年了,主要是A...PJ3啊,貌似很少有人用PJ了,现在不是WP就是z...@332347365,我当时接入时错误码没有-10...楼主,ChkValue值应为-103是什么意思呢?...大哥 你最近能看到我发的信息,请跟我联系,我有个制...
让ASP也支持动态include文件
编辑:dnawo 日期:2008-04-09
一直觉得ASP的include非常的别扭,一是它不能放在"<%"和"%>"之间,感觉很独特,很格格不入,二是它不能像PHP的include那样可以动态的随意包含文件!以前也有人试图解决过这个问题,但总是不尽完美,今天在pscode.com又看到有人写了个类来解决这个问题,可以说它是在我所见过的解决方法中最好的了。由于原类中存在一些不足,我稍做了修改,下边为修改后的代码:
复制内容到剪贴板
程序代码
程序代码<%
public include, include_vars
set include = new cls_include
public include, include_vars
set include = new cls_include
OnClientClick与PostBackUrl无法同时使用解决方案
编辑:dnawo 日期:2008-04-02
复制内容到剪贴板
程序代码
程序代码<asp:Button ID="Button1" runat="server" Text="下一步" OnClientClick="return CheckForm1(document.form1);" PostBackUrl="http://www.mzwu.com/send.aspx" />
运行后页面源代码如下:
复制内容到剪贴板
程序代码
程序代码<input type="submit" name="Button1" value="下一步" onclick="return CheckForm1(document.form1);WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("Button1", "", false, "", "http://www.mzwu.com/send.aspx", false, false))" id="Button1" />
可见"return CheckForm1(document.form1);"后背后的脚本根本就不再执行了,所以PostBackUrl也就失去了作用,解决方法是不使用PostBackUrl,在脚本CheckForm1动态改变表单的action属性的。
VB.NET使用WebRequest和WebResponse获得网页源代码
编辑:dnawo 日期:2008-04-02
Register protocol
编辑:dnawo 日期:2008-03-31
A protocol is a method that is used to send, receive, and handle information over a connection. Common protocols viewed from the browser include http, https, ftp, and mailto. In order for you to view information sent over a specific protocol, it must be registered. If you enter a URL for an unknown protocol (foo) in the Location Bar, you will receive a message such as, Firefox doesn't know how to open this address, because the protocol (foo) isn't associated with any program or, in Mozilla Suite/SeaMonkey, foo not a registered protocol.
Once registered, the protocol can then be handled by the program you specify, such as your browser or a third party viewer. This means that a hyperlink ( e.g. foo://fred) can use the handler for protocol foo to open the file named fred.
Windows
Once registered, the protocol can then be handled by the program you specify, such as your browser or a third party viewer. This means that a hyperlink ( e.g. foo://fred) can use the handler for protocol foo to open the file named fred.
Windows
[翻译] 将应用程序注册为URL协议
编辑:dnawo 日期:2008-03-31
The About Asynchronous Pluggable Protocols article describes how to develop handlers for new protocols. In some cases, it may be desirable to invoke another application to handle a custom protocol. To do so, register the existing application as a URL Protocol handler. Once the application has successfully launched, it can use command-line parameters to retrieve the URL that launched it.
文章《About Asynchronous Pluggable Protocols》(中译[翻译]关于“异步可插协议”(About Asynchronous Pluggable Protocols(APPs)))描述了如何为一个新的协议开发处理程序(处理器handlers)。在一些案例中,可能会描述如何调用另外一个应用程序来处理自定义协议(custom protocol)。注册已经存在的应用程序为一个URL协议处理器即可。一旦应用程序被成功地启动,我们可以使用命令行参数来重新找回URL来启动它。
·Registering the Application Handling the Custom Protocol
·Launching the Handling Application
文章《About Asynchronous Pluggable Protocols》(中译[翻译]关于“异步可插协议”(About Asynchronous Pluggable Protocols(APPs)))描述了如何为一个新的协议开发处理程序(处理器handlers)。在一些案例中,可能会描述如何调用另外一个应用程序来处理自定义协议(custom protocol)。注册已经存在的应用程序为一个URL协议处理器即可。一旦应用程序被成功地启动,我们可以使用命令行参数来重新找回URL来启动它。
·Registering the Application Handling the Custom Protocol
·Launching the Handling Application


