 |
| |
| by: eXt - 2003-12-12 19:15:18 |
|
| | Ever created a forum, or something else that would output text that someone else wrote? Then you probably know it isn’t a good idea to let the user input HTML directly, but you might want them to style the text a bit too. This article will show you a basic way to do this. |
|
| |
|  |
 |
| |
| |
| Ever wanted to let your users be able to post there problems on your site with the ability to add there source code so its readable? Here's how using Microsoft ASP technology. |
|
| |
|  |
 |
| |
| |
| | Place this sub in its own file (or in a functions file, which is the best way to store all your functions and classes for big projects) then all you need to do is include the file on any page that needs to use a database connection. |
|
| |
|  |
 |
| |
| |
| This function is quite crude but does the job quite well, Basically if you have ever made a site that gets file information from the server you will have noticed when ever you ask how big the file is it returns it in bytes, well include this function and send it the file size in bytes and it will return the file size in either "Bytes", "K's" or "Meg's".
|
|
| |
|  |
 |
| |
| |
| This nice little function will return a nice little random string which I use to create ID's for ALL my projects, in any language (just got to edit it). In all the time I have used this sub it has NEVER created the same string twice, and if your not happy with it, just call it twice and then it will half the chances again :D
|
|
| |
|  |
 |
| |
| |
| | Ever wanted to do you own login page with authentication against users in a database. Here's how using HTML forms, ASP and MS Access. |
|
| |
|  |
 |
| |
| |
| | hmm, does anyone ever get tired of these.. anyway, heres another way to do a database connection in asp. |
|
| |
|  |
 |
| |
| |
| | Heres how to create a Cookie under ASP |
|
| |
|  |
 |