NewsHdrLeftSpacer.gif (132 bytes)
Welcome to Inventive Labs

  
Try out our new .NET Telephony Toolkit called CTI32.  It is easy to build telephone applications using VB.NET or C#.  NO PORT ROYALTIES.
NewsHdrEnd.gif (910 bytes)
NewsHdrBottom.gif (973 bytes)

Send a message from a Web Page example HTML code

Here is a simple example of the HTML code for a form that will set up and send a page:

<form action="/Scripts/ntpisapi.dll" method="POST">
<input type="hidden" name="Command" value="QuickPage"><input type="hidden" name="DebugFile" value="c:\inetpub\scripts\ntpisapi.log"><input type="hidden" name="FailPage" value="c:\inetpub\scripts\fail.htm"><input size="80" maxlength="80" name="Message"><input type="hidden" name="SuccessPage" value="c:\inetpub\scripts\success.htm"><p>Please provide the username and message:</p>
<blockquote>
<table border="0" width="367">
<tr>
<td align="right" width="84"><em>User Name</em></td>
<td width="275"><input type="text" size="50" maxlength="50" name="Username"> </td>
</tr>
<tr>
<td align="right" width="84"><em>Message</em></td>
<td width="275"><input size="80" maxlength="80" name="Message"> </td>
</tr>
</table>
</blockquote>
<p><input type="submit" value="Send Page"> <input type="reset" value="Clear Form"> </p>
</form>

Note: You can eliminate several of the above hidden form fields, by using NTPAGER to set defaults in the registry.


© Copyright 2001-2009  Inventive Labs Corporation  All rights reserved.