Wrox Programmer Forums
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 12th, 2005, 04:38 AM
Registered User
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default chapter 15

plz can anyone modify for me " Item.asp" page in chapter 15 ,so that it will not allow the user to enter an expiration date which is less than or equal to system date .. "constraint on expiration date"

and what about the email address , the system takes same 2 email addresses with same passwords , and doesnt give a msg that email already exist in database ??? how is this ?

plz plz plz iam in urgent need for the constraint in expiration date and for constraint on email address if it already exist in database . " register.asp", "adduser.asp"
my deadline is on wednesday :(:(:(:(

thanks in advance

Old December 9th, 2005, 05:09 PM
Registered User
Join Date: Aug 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to demiwolf

If your email address is not a primary or secondary key in the database, the DB doesn't care about this.
However, you can take the input email address as a string, keep it in a variable, run a select statement using your input email string as a where clause, and if the recordset comes back as empty, you can then put the email address in the database.

As for your date question, try this, don't know if syntax works;

if (userInputdate > Date()) 'date being system date
  'then allow enter of expiration date.

Old March 13th, 2006, 04:48 PM
Registered User
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mathan Send a message via Yahoo to mathan

dear friend i am desgin a email system website i am usinf windows 2003 server i am desgin my page in asp usinfg cdonts control the how to recive in my local smtp domain ( my m local domail name in mak.net ) plz help urgent


Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 15 help kyledonmoyer BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 June 30th, 2007 08:06 AM
Chapter 15 rrlevron BOOK: Beginning ASP 3.0 0 November 17th, 2005 03:38 PM
chapter 15 manal_sag BOOK: Beginning ASP 3.0 1 June 18th, 2005 11:05 AM
chapter 15 manal_sag BOOK: Beginning ASP 3.0 0 April 22nd, 2005 02:23 PM
Chapter 15!! studentinpain BOOK: Beginning ASP 3.0 16 March 12th, 2004 10:26 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.