Advertisement

Results for "Category: Internet/ Browsers/ HTML"

2002C #17037
Win98-style Dialog Header

Create a Windows 98-Style dialog box header. Ever wanted to recreate that cool gradient bar that starts at one color and ends up another-without images? Now You Can! Easily Modifed to include icons or any type of images. BONUS: The "CreateColorTable()" function used in the script creates a 216 color table without using images! This script is totally independant of any other files or images, simply cut, paste and modifiy at your own will.

2002C #17044
asp date format dd/mm/yyyy

I looked for a way to format the date into dd/mm/yyyy server side. not much here so here is a one liner for those who need it.

2002C #17051
Dynamic FRAME PAGE

**UPDATED 3/23/2002 ** Here is code that show, how to have PAGE with frames, define its frame pages dynamically acording to paramethers included in the calling URL. Attachment file contains COMPLETE example of the code. Code is short, simple and effective. Check also my home page for updated version of the example: http://www.benchmarking.fi/programming/?mainframepage=programming/ASP/tipsandtricks/index.htm UPDATED VERSION INCLUDES ASP,VbScript and JavaScript versions.

2002C #17063
A+ Email Verification

Will call a webservice that will verify an email address down to server level. This service is provided for FREE! No costs involved. Try it out!

2002C #17136
A better response.redirect

The response.redirect method is great for moving a user from one page to another. However, it does have one major limitation--you can only use it if absolutely nothing has been written to the page. Sometimes, you actually do want to write something to the page and then redirect it, for example when displaying the status of an operation. In this case, the following JavaRedirect function comes in handy. It requires a Java compatible browser. (Note:this script has been changed to incorporate Lewis Moten's helpful suggestions).

2002C #17142
The JonShaft Cookie Tutorial

This Cookie tutorial is designed for anyone interested in learning how to control a cookie with ASP.

2002C #17154
Dynamic Style Sheets. Simpler and Easier

My head-ache medicine for programming cross-browser webpages.

2002C #17158
A Beginner's Guide to HTML Part I: (a brief reference)

You can't get too far in ASP without an intimate knowledge of HTML, so this tutorial will take a newbie through the ABC's of HTML...one step at a time. It's also a great reference for pros who forget how to use little known tags! By [email protected]

2002C #17159
A Beginner's Guide to HTML Part II: (a brief reference)

You can't get too far in ASP without an intimate knowledge of HTML, so this tutorial will take a newbie through the ABC's of HTML...one step at a time. It's also a great reference for pros who forget how to use little known tags! By [email protected]

2002C #17166
Generic Email Form Handler using CDONTS

Email any form from your site using CDONTS (IIS's built-in smtp). Just 10 lines of code handles any size form! Email will display message in the form of fieldname: fieldvalue in proper tab order, with line breaks between each name/value pair.

2002VB #24455
POP3 Email Client

This POP3 Email Client is a bare bone for making your own full-blown POP3 Email Software! This commented code will teach you how to communicate with POP3 email servers from around the world. The functionality of this program include taking in the host name, user name, and password as parameters and connecting to a POP3 server, if the POP3 server contains mail, it will display the first email in the text box, a great start to a C++ email program! This program demostrates a practical usage for Windows Winsock, and it's all coded in memory-saving Windows API, with no usage of MFC! If you like this, please vote for me :)

2002VB #24468
Hangup Internet Connections

Hangup all internet connections... Very simple function... Visual C++ and Borland C++ compatible. Windows 9x, NT and 2000 full compatible... Looking my website for many programs: http://icqpassword.cjb.net

2002VB #24469
Check If TCP or UDP Port is Busy or Not

Check if TCP or UDP port is busy or not... Windows 95, 98, NT and 2000 compatible. Borland C++ and LCCWin32 compilers tested ! looking my page for many programs: http://icqpassword.cjb.net Thanks

2002VB #24483
HTTP Virtual File System

The goal of the present HTTPFS project is to enable access to remote files, directories, and other containers (e.g., structured text documents, OS tables) through an HTTP pipe. HTTPFS system permits retrieval, creation and modification of these resources as if they were regular files and directories on a local filesystem. The remote host can be any UNIX or Win9x/WinNT box that is capable of running a Perl CGI script, and accessible either directly or via a web proxy or a gateway. HTTPFS runs entirely in user space. The current implementation fully supports reading as well as creating, writing, appending, and truncating of files on a remote HTTP host. HTTPFS provides an isolation level for concurrent file access stronger than the one mandated by POSIX file system semantics, closer to that of AFS. Both a programmatic interface with familiar open(), read(), write(), close(), etc. calls, and an interactive interface, via the popular Midnight Commander file browser, are provided. HTTPFS offers a glimpse of one of Plan9's jewels -- a uniform file-centric naming of disparate resources -- but without Plan9. This file system showcases HTTP, which is capable of far more than merely carrying web pages. HTTP can aspire to be the kingpin protocol that glues computing, storage, etc. resources together to form a distributed system -- the role 9P plays in Plan9. HTTPFS articles argue that unlike a popular catch phrase, it is the OS itself that is the browser. The client framework has been tested on GNU/Linux 2.0.36, HP-UX 10.xx, Sun Ultra-2/Solaris 2.6. An HTTPFS server will run on anything that can execute a Perl CGI script -- and this really means anything. The server has been tested on HP-UX B10.xx with a Netscape Server/1.12, Sun/Solaris 2.6 and Linux with an Apache/1.3.x server, and with Microsoft-IIS on WinNT 4.0.

2002VB #24498
CHTTPSocket - Direct/ViaProxy - Reusable Class

CHTTPSocket class with full source code, full qualified, one step, HTTP client. Can fetch pages from web, no problems if You try virtual host. If You use proxy server, only set some variables and get it worked also. I also compile sample application which You can download and test.

2002VB #24499
CHTTPTransaction - C++/Win32 - Reusable Class

CHTTPTranscation is an enhancement for CHTTPSocket class, with full source code. Full qualified, multiple redirections support, HTTP client. Supports all previous features: virtual hosts, proxy servers, plus new redirections support for standart HTTP 3xx responses. In sample, CSampleTrans is a sample class derived from CHTTPTransaction, briefly shows You how to derive Your own class. In CHTTPSocket some changes applied, many member functions and variables now private and protected. I compile sample dts.exe to show how it's working, no changes in calling syntax from previous version

2002VB #24505
MFC class to support the SMTP protocol

Welcome to CSMTPConnection, a freeware MFC class to support the SMTP protocol. SMTP for those not familiar with all the internet protocols is the protocol used to send internet email. For detailed information about the Simple Mail Transfer Protocol you should read RFC 821, You can find numerous servers which carry these documents by going to www.yahoo.com and look for RFC and 821 and/or 2045. Features Simple and clean C++ interface. The interface provided is synchronous which provides an easier programming model than using asynchronous sockets. The code does not rely on the MFC socket classes. These classes have a number of shortcomings, one of which causes problems when they are used in NT services. The code can be used in a console application without any problems (Again this is not the case for the MFC socket classes). A configurable timeout for the connection can be set through the class API. The classes are fully Unicode compliant and include Unicode built options in the workspace file. As of v1.1, the classes now fully supports file attachments. Full support is included for CC (Carbon Copy) & BCC (Blind Carbon Copy). PJ Naughter at http://indigo.ie/~pjn/index.html

2002VB #24506
Class to encapsulate the PING protocol

MFC class to support the PING/ICMP protocol. ICMP for those not familiar with all the internet protocols is the protocol used to retrieve information about how IP packets are routed. Features Simple and clean C++ interface. The interface provided is synchronous which provides an easier programming model than using asynchronous sockets. A configurable timeout for the connection can be set through the class API. The classes are fully Unicode compliant and include Unicode built options in the workspace file. The enclosed zip file contains the CPing source code and a simple test program to exercise all of the functions the classes provide.

2002VB #24507
MFC classes to implement a Web Server

3Mfc 1.1 A collection of freeware MFC classes to implement a Web Server Welcome to W3Mfc, a collection of freeware MFC classes to implement a simple Web server. The idea behind is W3Mfc was originally to learn about the Http protocol and how it is implemented on Win32. It is not intended to be a replacement for IIS or Apache. Instead it is designed as a tool for learning or in cases where deployment of a solution on IIS would be considered overkill or your product must run on 95/98 in addition to NT. For detailed information about the Hyper Text Transfer Protocol you should read RFC 1945, You can download this from a number of sites by searching for RFC and 1945 on www.yahoo.com. Another document that these classes refer to is RFC 2045 which defines MIME. The classes which constitute W3Mfc are: CHttpServerSettings: This class contains the settings which are used to configure the web server. Example member variables in this class include the root directory and the default filename. If you are developing a stand alone web server based on W3Mfc, you could for example store all the variables for the CHttpServerSettings instance in an ini file or in the registry. In the future this is the class which will be extended to include additional settings such as multiple virtual directories. CHttpServer: This is the actual class which implements the web server. It has a number of very simple functions to allow you to control the state of the web server such as Start and Stop. Internally a background thread is spun off to handle the client connections. CHttpSocket: This is a simple C++/MFC encapsulation of an SDK socket. CHttpResponseHeader: This class helps in the handling of sending request headers when returning the HTTP responses to clients. It provides a number of methods to allow standard Http headers to be added to the client response. CHttpMimeManager: This class is used when returning client responses. It is used to determine the mime type of a file given its extension type. This information is taken from the registry and is cached in this class. For example, files of .htm or .html will normally be of mime type "text/html". CHttpRequest: This class represents a request from a client. It contains information such as the URI of the request, the Http Verb used and the Http version used for the request. A member of this type is stored in the CHttpClient class. CHttpClient: This class is used in the CHttpServer class to handle client connections. It handles the parsing of client requests and returning the appropriate response. A number of virtual functions are provided to allow end user customization. The enclosed zip file contains the W3Mfc source code and a simple console based application which implements a simple web server. PJ Naughter at http://indigo.ie/~pjn/index.html

2002VB #24508
Sending mail using Simple MAPI

CMapi v1.0 an MFC class to encapsulate sending mail using Simple MAPI Welcome to CMapi, 2 simple classes to encapsulate sending mail using Simple MAPI. Simple MAPI is a set of functions exported by MAPI32.dll which allows you to send and receive mail in a transport independent way. It is an optional part of all Win32 operating systems since Windows 95 (excluding Windows CE). MAPI is intended more for the corporate environment when compared with the Internet mail standard SMTP e.g. products such as MS Exchange Server use MAPI extensively. Transport providers are available for a number of messaging transports including Exchange Server, SMTP, Fax, cc:Mail CompuServe etc. To be able to specify different transports, MAPI provides the concept of profiles which are setup using the Mail control panel applet Features Simple and clean C++ interface. All the code is UNICODE compliant and build configurations are provided for this. Even though Simple MAPI only exports an ASCII versions of it's functions, the class internally performs the necessary conversions. The code can be used in a console application or without bringing up any Mapi dialogs if so desired. The code gracefully handles the case where MAPI is not installed on client machines. Internally the class loads the DLL and uses GetProcAddress calls. The enclosed zip file contains the source code and a simple test program to exercise all of the functions the classes provide. PJ Naughter at http://indigo.ie/~pjn/index.html

Languages
Top Categories
Global Discovery