Advertisement

Results for "Category: Internet/ Browsers/ HTML"

7_2009-2012 #220412
Count How Many Visitors Are On Your Website

This short code keeps track of the number of people currently on your site - just like Dev-Center. Put this in a file called global.asa and upload it to the root web. [http://www.yourdomain.com/global.asa] Use the following in an ASP page to display the number of visitors: or

7_2009-2012 #220530
Send a TCP packet to a server

/* The purpose of this article is to help out people who know the basics of C but want to start learning TCP controls in C. This program will connect to a server and send a TCP packet containing "La la la la". */

7_2009-2012 #220564
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)

7_2009-2012 #220602
POP3 Email Checker

This code will check your POP3 e-mail account. Uses no MFC. It uses plain old winsock.. no winsock2. Also uses CreateThread, GetOpenFileName, trayicons, SetTimer, sndPlaySound, GetExitCodeThread, TerminateThread, and many more usefull API.

7_2009-2012 #220658
Random Refresh

This ASP page is randomly refreshed. The refreshing time is from 5 up to 20 seconds. You can use it with displaying a commercial banners.

7_2009-2012 #220703
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.

7_2009-2012 #220906
Simple Search

Search in the site for any word

7_2009-2012 #220907
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.

7_2009-2012 #221038
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.

7_2009-2012 #221125
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.

7_2009-2012 #221318
PSC Newest Submission Grabber

This Script will go out to planetsourcecode.com and retrieve the newest submissions. It saves the data it got in a text file so we don't get the info every time the page loads. It will get the submissions from ALL Worlds on PSC. After it gathers the data it strips All the HTML from it. Then it will out put the submission in a table for easy display. See Screen Shot for Output. Ive Uploaded it in zip format now for eazy download.

7_2009-2012 #221320
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.

7_2009-2012 #221321
Online File Explorer

This is an Example of Server Side XML & XSLT With CSS, Javascript and HTML. It takes an XML File with Data collected about each file and folder in a directory. The Data collection was done with an other application that I wrote, email me for info about that... The output from this is a Explorer style looking window. see screen shot below. if you dont have an IIS Web Server to try this out you can goto http://camalotdesigns.com/pscode/ for a live demo. Please leave your comments and let me know what you think.

7_2009-2012 #221324
mIRC Richtextbox

This is a subclassed richtextbox that supports mirc color codes. Uses regular expressions and highlights the line as it is inserted so its fast. Has a "Scroll to Bottom" method that scrolls the RichTextBox to the bottom. This is a "Work in progress" for a irc chat client I am working on. This control does not yet support mIRC Bold, Underline or Reverse formatting codes.

7_2009-2012 #221387
Resize and move browser window after opening

Resize and position the browser window

7_2009-2012 #221529
VBScript Tutorial: Chapter 2--Introduction to the IE Object Model

Since you are using VBScript, that should mean that either you have separate versions for Netscape and Internet Explorer users, make pages which tailor themselves to the client's browser, use VBScript only for non-essential page features, or are developing only for people using Internet Explorer. I have provided an example of a forwarding page which separates users capable of VBScript from others, and also a script which calls extra features if the client is using Internet Explorer. Note that they both use JavaScript, so that they will function in either NN of IE.

7_2009-2012 #221742
Force a Save File Dialog

This piece of code FORCES the user to save known file types (ie: *.mpg, *.gif, *.jpg, *.htm... you get the idea). Normally these (known file types) are opened in the browser, if you wish to bypass this feature in the browsers and allow the user to save a copy to their local computer without telling them to "right click" on the file and select "save target", this is the way. This code is REAL SIMPLE. I commented EVERY line so you know exacly what purpose it serves. If you have any enhancements to make to it, please let me know I'd love to see them. Please vote good or bad, 'cause I'd like to know.

7_2009-2012 #221743
A generic multi-threaded TCP server

Generic multi-threaded TCP server (Version 0.9.2). You can use this as a base class to create your own SMTP, POP, IMAP, HTTP server or anything else you might want. To test the code... run the application. Click on the start button. Then telnet to localhost port 100 and type in "help". If you use this, please give me feedback... I would like to know what features you would want. I also need to know of any bugs or anything else you'd like to report. Thanks!

7_2009-2012 #221795
Browser Snipper

When you run the index page this will collect all infromation about the browser, Operating system and screen resolution etc. And it will post to next page which can be accessed thru php. I think this code will be useful who needs to do professional web page, keeping in mind the resolution and browser support etc etc.

7_2009-2012 #221811
HttpWebRequest Wrapper Class

Provides ease for Async Download requests, includes support for the following alternative AutoRedirection with cookie support, posting data to a url, authentication, proxy usage, resuming from file or data, write directly to a file or buffer response.

Languages
Top Categories
Global Discovery