Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

The Code Project Discussion boards

, , 25 Aug 2001
The Discussion board ASP scripts as used in The Code Project. This is an open source project for the Code Project community.
CodeProject-asp-forum.zip
CodeProject-asp-forum
_vti_cnf
img_forum
admin_del.gif
admin_delall.gif
admin_modify.gif
ind.gif
news_none.gif
news_selected.gif
news_unselected.gif
smiley_biggrin.gif
smiley_frown.gif
smiley_redface.gif
smiley_smile.gif
smiley_wink.gif
t.gif
images
blind.gif
t.gif
_vti_cnf
t.gif
blind.gif
forum
_vti_cnf
files
forum.inc.bak
_vti_cnf
forum.inc.bak
database
forum.mdb
CodeProject-AspForum-AX.zip
src
app
AspForum.aps
AspForum.clw
AspForum.def
AspForum.dsp
AspForum.tlb
AspForumps.def
AspForumps.mk
Forum2.rgs
AspForum.dsw
AspForum.opt
common
MemoryEx.inl
foreign
hightime.inl
CodeProject-forum.zip
CodeProject-forum
Common
forum
app
Includes
bin
AspForum.dll
data
forum.mdb
Images
admin_del.gif
admin_delall.gif
admin_modify.gif
IND.GIF
news_none.gif
news_selected.gif
news_unselected.gif
smiley_biggrin.gif
smiley_confused.gif
smiley_cool.gif
smiley_eek.gif
smiley_frown.gif
smiley_mad.gif
smiley_redface.gif
smiley_rolleyes.gif
smiley_smile.gif
smiley_tongue.gif
smiley_wink.gif
t.gif
DELETE.GIF
MODIFY.GIF
RED.GIF
WHITE.GIF
NEW.GIF
cplogo.gif
CodeProject-php-forum.zip
css
img_forum
admin_del.gif
admin_delall.gif
admin_modify.gif
cplogo.gif
DELETE.GIF
IND.GIF
MODIFY.GIF
NEW.GIF
news_new.gif
news_none.gif
news_selected.gif
news_unselected.gif
RED.GIF
smiley_biggrin.gif
smiley_confused.gif
smiley_cool.gif
smiley_eek.gif
smiley_frown.gif
smiley_mad.gif
smiley_redface.gif
smiley_rolleyes.gif
smiley_smile.gif
smiley_tongue.gif
smiley_wink.gif
t.gif
WHITE.GIF
<% option explicit

' ###########################################################################
' #
' # file:
' # 	owner_do_delete.asp
' #
' # description:
' # 	deletes an article from the forum.
' #
' # version:
' # 	1999-12-29 Uwe Keim   file created.
' #
' # copyright:
' #		Written by Uwe Keim <keim@zeta-software.de>
' #		Adapted by Chris Maunder <cmaunder@mail.com>
' #		Copyright (c) 1998-2000. All Rights Reserved.
' # 
' #     Check the Code Project (http://www.codeproject.com) for the latest.
' # 
' #		These scripts may be used in any way you desire PROVIDING the 
' #		"powered by CodeProject" logo remains in the top left corner of the
' #		front index page. This file may be redistributed unmodified by any 
' #		means PROVIDING it is not sold for profit without the authors written 
' #		consent, and providing that this notice and the authors' name and all
' #		copyright notices remains intact. 
' # 
' #		An email letting us know how you are using it would be nice as well. 
' # 
' #		This file is provided "as is" with no expressed or implied warranty.
' #		The author accepts no liability for any damage/loss of business that
' #		this product may cause.
' #
' ###########################################################################
%>
<!--#include file="../../common/scripts.asp"-->
<!--#include file="../includes/locafx.inc"-->
<%
' ***********************************************************************
' get.

dim id
dim pw

id = Request.Form("id")
pw = Request.Form("ArticlePassword")


' ***********************************************************************
' check.

if not fh.isArticlePwValid(id,pw) then
	Response.Redirect fh.getUriFailure(IDS_FORUM_WRONGPASSWORD)
end if


' ***********************************************************************
' delete.

fh.deleteArticle id, true


' ***********************************************************************
' >> continue.

Response.Redirect fh.getUriMain(0)


' ***********************************************************************
%>
<!--#include file="../includes/cleanup.inc"-->

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Authors

Chris Maunder
Founder CodeProject
Canada Canada
Chris is the Co-founder, Administrator, Architect, Chief Editor and Shameless Hack who wrote and runs The Code Project. He's been programming since 1988 while pretending to be, in various guises, an astrophysicist, mathematician, physicist, hydrologist, geomorphologist, defence intelligence researcher and then, when all that got a bit rough on the nerves, a web developer. He is a Microsoft Visual C++ MVP both globally and for Canada locally.
 
His programming experience includes C/C++, C#, SQL, MFC, ASP, ASP.NET, and far, far too much FORTRAN. He has worked on PocketPCs, AIX mainframes, Sun workstations, and a CRAY YMP C90 behemoth but finds notebooks take up less desk space.
 
He dodges, he weaves, and he never gets enough sleep. He is kind to small animals.
 
Chris was born and bred in Australia but splits his time between Toronto and Melbourne, depending on the weather. For relaxation he is into road cycling, snowboarding, rock climbing, and storm chasing.
Follow on   Twitter   Google+   LinkedIn

Uwe Keim
Chief Technology Officer Zeta Producer Desktop CMS
Germany Germany
Uwe does programming since 1989 with experiences in Assembler, C++, MFC and lots of web- and database stuff and now uses ASP.NET and C# extensively, too. He has also teached programming to students at the local university.
 
In his free time, he does climbing, running and mountain biking. Recently he became a father of a cute boy.
 
Some cool, free software from us:
 
Free Test Management Software - Intuitive, competitive, Test Plans. Download now!  
Homepage erstellen - Intuitive, very easy to use. Download now!  
Send large Files online for free by Email
Offline-Homepage-Baukasten

| Advertise | Privacy | Mobile
Web03 | 2.8.140921.1 | Last Updated 26 Aug 2001
Article Copyright 2000 by Chris Maunder, Uwe Keim
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid