home *** CD-ROM | disk | FTP | other *** search
/ H4CK3R 4 / hacker04 / 04_HACK04.ISO / src / ASP / weekly_poll_v210.zip     download all originals (max 1 GB)

File Comment
Web Wiz Guide ASP Weekly Poll v2.10 beta
 
 
The Web Wiz Guide ASP Weekly Poll v2.10 beta is written by Bruce Corkhill
 
****************************************************************************************
**  Copyright Notice                                                                  **
**  Copyright 2001 Bruce Corkhill All Rights Reserved.                                **
**  This script is free to use and alter as much as you like.                         **
**  You may not resell or redistribute this script without permission by the author.  **
**  You may not pass the script off as your own work.                                 **
**  You must place a link to http://www.webwizguide.com somewhere on your web site.   **
**  Use this script at your own risk                              **
****************************************************************************************
 
The copyright notice has been placed here as I have found people passing my scripts of as there own and I have even come across someone selling them!!
 
 
If you are having problems running the script then please post a message about the problem to the surf-net web forum at: -
    
     http://www.webwizguide.com/forum 
 
your questions will be answered there NOT by e-mail
 
 
 
The Weekly POll uses ASP and must be run through a web sever supporting ASP.
 
Luckily Windows 98 comes with Personal Web Sever found on the windows 98 CD. Windows 2000 is even better as it comes with Microsoft's Web Sever, IIS 5. 
 
Windows NT 4 and 95 users can get a copy of Personal Web Sever by downloading NT 4 Option Pack from Microsoft. Don't be fooled by the name as it asks if you wish to download Windows 95 version.
 
A Text Editing program like UltraEdit is also highly recommended for editing any ASP scripts and an FTP program like Bullet FTP for uploading any scripts to your ASP enabled web space.
 
 
 
 
Using the ASP Weekly Poll
 
 
Unzip all the files to the same directory
 
Files must be run through an ASP enabled web sever (CGI is not the same)
 
The main page is 'default.asp'
 
To add a new Weekly Poll use the page 'admin.htm' to add a new Weekly Poll for a new week
 
The database is written in Access 2000, this program must be used to amend the database directly.
 
 
 
Custmoising the Weekly Poll script
 
If you wish to place the Weekly Poll on a diffrent page to the default.asp page supplied (e.g your homepage) then you will need to: -
 
1. Delete the default.asp page. 
2. Place everything else supplied in the zip file into the folder where the page is you want the weekly poll to be on.
3. Place the following line into the HTML on the page(DON'T put between the asp tags, <% %>)  where you want the Weekly Poll to be displayed (the page MUST have the extension .asp): -
 
        <!--#include file="weekly_poll.inc" -->
 
4. If you find you are having problems make sure: -
 
    the page you want the weekly poll on is an ASP page with the .asp extension.
    the, <!--#include file="weekly_poll.inc" -->, is in the HTML not ASP (DON'T put between the asp tags, <% %>). 
    all the other files from the zip file, except the default.asp, are in the same folder as the page you want the Weekly Poll on. 
 
 
 
If you recieve the following error: -
 
Microsoft OLE DB Provider for ODBC Drivers error '80004005' 
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
 
This means that the directory the database is in does not have the right permissions to be able to write to the database. 
 
If you are running the web server yourself and using the NTFS file system then there is an FAQ page at, http://www.webwizguide.com/asp/FAQ, on how to change the server permissions on Win2k/NT4.  
 
If you are not running the server yourself then you will need to contact the server's adminstrator and ask them to change the permissions otherwise you cannot update a database.
 
 
 
If you are having trouble with the script then please take a look at my FAQ's, before e-mailing me, at: -
 
http://www.webwizguide.com/asp/FAQ
 
 


Archives (1)
NameFormat# FilesSizeDate
weekly_poll.mdb Microsoft Access Database 1 116.0 KB 2001-08-26

Images (2)


Text (7)
NameFormat# LinesSizeDate
add_new_weekly_poll.asp Text File 107   3.5 KB 2001-08-25
admin.htm Hypertext Markup Language File 123   4.4 KB 2001-08-25
default.asp Text File 17   669 b  2001-08-25
previous_weekly_polls.asp Text File 158   6.0 KB 2001-08-25
ReadMe.txt Text File 88   4.0 KB 2001-08-25
weekly_poll.asp Text File 297  10.4 KB 2001-08-25
weekly_poll.inc Text File 175   6.1 KB 2001-09-20