Advertisement

Results for "Category: Internet/ Browsers/ HTML"

2002VB #24926
MasterX Console FTP

MasterX Console FTP. This will show you how to program MasterX Console programs and FTP API at the same time!!!

2002VB #24947
timeme.c

This code is to teach a small bit of socket programming. It connects to a simple time server and reads the time and prints to the screen. Easy to read code. Please vote. Also check out my other submissions and vote for those too!

2002VB #25000
HTTP/Web Server Source

This is the source code for a web server. It isn't quite finished, and at the moment I haven't got time to finish it (I start my GCSE exams in 2 weeks) so I thought it might be of benefit to people who want to write one. The server runs in the system tray and supports the resume feature (which some servers such as Xitami don't). At present, the server doesn't save the settings you type in, so you'll have to reset them every time you run it. But anybody with a good knowlage of file I/O should be able to add this. Please Please rate this server, your comments would be appreciated, though I won't be working on the project again until the end of June. If you want to make any changes, please contact me first, and please don't use the code in a commercial product. To get it working, put your pages/files in the 'root' directory which should be in the same directory as the executable. If you like it PLEASE PLEASE PLEASE vote.

2002VB #25007
Webserver Logfile Analyzer

I wrote this quick bit of code after looking at the cost of a product from the leader in the analysis of logfiles. - I'm a website operator and I have my sites hosted, and as such, the little things, like bandwidth usage, become rather important. Free Online Service type methods for tracking website usage cant provide bandwidth reports because a website is more then just html files. This program will go through a logfile of a specified format and add up the total bandwidth from server to client.

2002VB #25085
Telnet Chat Server

An example of how to use winsock sockets (tcp/ip connection) to create a simple console based chat program.

2002VB #25095
PC CLOCK SYNCHRONIZING USING HTTP PROTOCOL

This article describes using Windows Internet API for atomic clock sites connection and synchronization PC clock. C++ code is included.

2002VB #25111
Multithreaded/Multisession TCP server

A sample on how to create a simple TCP server that is Multi Threaded and accepts more then one Client Connect in MFC using SOCKS.

2002VB #25120
FTP WININET Win32

Simple FTP DOS/WIN32 application that checks the machine day of the week, then goes and downloads the appropriate file for that day. I warn you, I stink at C/C++ and other languages and have only toyed with simple stuff. First, let me say this. I am a Network Engineer, MCSE, CNE, CCNA and work with routers, servers, Novell/NT some database apps/servers, firewalls, security, yada yada.. I wanted to learn C/C++ to be able to read, and understand hopefully, security applications, exploits etc...since I have taken more of an interest in security lately. Of course, in my day-to-day activities, something always comes up that requires me to make a task transparent to the end-users. It seems nobody can start an FTP from a Windows command prompt, login and download a file without it becoming a major ordeal, so they scream to the Information Technology department and make it our job (sound familiar?). So, this is what really prompted me to write something useful in C++. There are probably better ways to handle the checking of the day and firing up your Internet FTP session other than the way I did it, any comments are greatly appreciated on how to streamline this code. First, finding information on search engines/news groups and even MSDN is very difficult. Documentation to a novice is very cryptic, especially when there is very little of it to begin with on Microsoft's site. I had a heck of a time actually getting the simple FTP connection to work and scramble for days working on it. Hopefully, this will make it very apparent on how to get started with WININET to make FTP connections and lead you to bigger and better things. Please comment on the code.

2002VB #25215
Download a file from the Internet reliably

In this article you will find out why you just can't call a few WinInet functions and expect them to download a file for you. You will learn the proper way to download a file from the Internet, and display its progress and download speed!

2002VB #25227
Packet sniffer

This code shows the source ip and port the flags of the packet and the sequence number

2002VB #25248
Detect if cookies are enabled

When you work with cookies, you always run into paranoid types who disable their cookies. If you don't detect and deal with them, your code may not work. This code detects the user's cookie settings using the ASP Session object. Unlike some other implementations, it requires only one script page.

2002VB #25260
Send Email from ASP with attachment using CDONTS without getting unspeciefied error 80004005

You can send an Email with attachment(s) from your ASP page using CDONTS. There is some code here on planet-source-code, but it does only work on the webserver itself, because the code does NOT first upload the attachment to the WebServer. This is neccesary, because the webserver the ASP is on cannot access your harddrive and pick up the file you want to send as attachment. If you don't, you get "Unspecified Error 80004005" Make sure you have IIS with CDONTS (standard under IIS5) installed and the SMTP virtual server is running on the webserver. The magnificent code to upload a file to a webserver is from Karl P. Grear and can be found on planet-source-code (Form Based File Upload Using Pure ASP).

2002VB #25261
Browse Favorites

Using the Windows Scripting Host this VBScript retrieves the users favorites folder and loads the url links into an array, then goes to each site for three minutes.

2002VB #25265
Hack... er, uh... verify ISP/website security

My purpose for this was educational. I was trying to learn the Scripting.FileSystemObjects which were not documented well at the time. You can use it for educational purposes, or to test the security and see how well your server's NT user permissions are locked down (for instance, if your anonymous user can browse and download files from your WinNt directory (which is usually the case!), your permissions are probably not quite up to snuff)

2002VB #25267
Domain Redirect

This is a basic redirection script based on the domain name. It is usefull if you are hosting multiple sites from one IP address.

2002VB #25273
Simple Search

Search in the site for any word

2002VB #25274
Send Mail using ActiveX DLL

You can send e-mail whom ever you want from who ever you want, using wich ever server you want This program uses my own control Active X, in the zip you can find the source code.

2002VB #25275
Controlling the Height of HTML Tables that Contain Forms

When working with HTML forms and ASP the order of the tags CAN and WILL make a difference! This article details some traps that HTML newbies can run into when designing ASP pages.

2002VB #25276
Writing a COM Object in Visual Basic

This a tutorial I wrote because I had so much trouble learning how to write a COM object, I wanted to put it in simple terms for anyone else who might want to get into it.

2002VB #25282
Banner Rotator with Stats

This Banner Rotator stores The Image URLs, Links, Tracking URLs, Views, adn Clicks in a database. When the banner loads it update the views for that banner in the database. when a user clicks the banner it updates the clicks in the data base. On the stats page(type http:/yoururl/ad.asp?fadmin=True to get there.) you can sort banners by ID, Views Or Clicks. It displays 10 banner stats per page. A sample database is included. make sure you change the gblConnection String at the top of the asp file to the location of the database. Please post your comments/questions.

Languages
Top Categories
Global Discovery