Generating Confirmation Codes

I have made a booking system, but need to somehow generate a unique confirmation code to be sent to the bookee to confirm the booking. I hve done a basic Google search, and a search through the archives of the forum, but to no avail.

View Replies


ADVERTISEMENT

Generating Unique Codes

I have a table with data in it and i want to generate unique icodes for each user. I have a hex function that generates random code but i get stuck when i want the items to be unique. I want to update all uses that have empty codes. How will i go about this. Code:

str_sql = "update tbluser set [usercat]='" & strcode & "' where usercat=null"
conn.execute(str_sql)

View Replies View Related

Confirmation

I have a page called Closer.asp where the closer fills the details and hits submit.After he hits submit an email goes to him with all the details he has filled.
Also it takes him to the next page where i want to display his all details properly .
How should i get all his details and display on the next page.I tried Request.Querystring but all the date is getting displayed in one line and i want it to be in more formatted look.

View Replies View Related

Email Confirmation

Is this right? I'm trying to email the username and password fields to the user once he/she has signed up. this doesn't seem to work- it seems to take issue with the first line for some reason. Is there another way to return email?

Set Mail=Server.CreateObject("CDONTS.NewMail")
Mail.To=Response.Write(Email)
Mail.From="testing-my@SP-Script.com"
Mail.Subject="Welcome to MEDIADDICT!"
Mail.Body="Welcome to MEDIADDICT. Your Username is: " + Response.Write(UserID) + " and your Password is: " + Response.Write(Password) + "."

MailUser.Send
Set Mail=nothing

View Replies View Related

Confirmation Page

I'm trying to pull information entered from a form that uses a standard formmail.asp script to generate an email to a specified recipient. That part of the form works just fine and all the fields show up properly in the email.

I'm trying to figure out how to place the form fields into a confirmation/thank you page. I've inserted <% Request.Form("name") %> into the Confirmation Page hoping that it would display: "Thank you <name> for completing the form," but of course it doesn't display the <name>. I think it is because my confirmation page has no way of calling to the actual form field entries but I'm so new to asp that I do not know how or if this is the issue.

View Replies View Related

Verisign CSC Confirmation

does anyone know how to confirm verisign csc (security number) ?
currently i have a site that sends this information to verisign but I dont know how to
confirm it so if someone puts a wrong number, after the JS validation, it is still going to take that number.

View Replies View Related

Confirmation Form

When the customer orders the item and completes the transaction I would like to send them and the retailer an email confirmation. Here is my problem, I would like to send the confirmation mainly in HTML format.

However, I also realize that some email programs do notaccept HTML format and in that case I would like to send it in TEXT format, how do I let the ordering system make the automated choice without the user selecting it?

I see that when I order things online, some of those stores will send a HTML cofirmation without me selection the format (newegg, amazon etc...), how is that done?

View Replies View Related

Confirmation Email From A Form

I have a small shop on my web site and you order the products via a simple form. As an owner of the site, I want the order confirmations to be emailed to three email addresses, two adresses of mine plus one email to the person whoplaced the order. I donīt know how to fix this in the code though and that is my problem.

I can easily arrange for two of the addresses to get emails via the objMail.To command, so itīs when I try to add the buyers email that it gets weird.

That email address, Iīm getting through the form and the name tag "Emailaddress".

I tried to use the commands objMail.Cc and objMail.Bcc, but nothing happend and then I still only got emails sent to the addresses that I put in at the line objMail.To. Below is as far as I have gotten. If I put the three addresses like that and separate with a "&", I got all three email addresses right, but no space between them. So do you have any ideas on what character to use, to split these three addresses so that an email can be sent to all of them? Code:

View Replies View Related

Email Confirmation Request?

Does anybody knows is there any kind of asp mail script (CDO prefered) that will, when i send newsletter, send back to me confirmation from server that email has arrive?

View Replies View Related

How Do I Change A Confirmation Page

In my ASP page i have the following:

Next
objEmail.SendMail
If Err.Number <> 0 Then
Response.Write "The following error occurred: " & Err.Description
Else
Response.Write "A quotation request has successfully been sent, thank you."
End If

The thing is that the confirmation page looks so dull with just a line of text at the top. I want to add my logo and other things.

Can I just start using html or can I direct to another confirmation page?

View Replies View Related

Confirmation Of INSERT In ASP/MySQL

I wrote an ASP prgram to insert a row into a MySQL database using data from a form. It works just fine, however is there a way to check a return code and trap any error that may occur (duplicate row error for example) so I can format and display a message in the browser instead of having the error just show up?

I've been looking in my ASP & MySQL books and searching on the web but can't find anything that sounds like what I want to do.

View Replies View Related

Form Confirmation In Dreamweaver

I need to know how i can set up a form submitted, that will link to a confirmation page on my website, rather than showing results of what the user filled out... this is bugging me so much....

View Replies View Related

Send A Confirmation Mail

Most sites just don't complete the registration process until the email sent has been clicked, sending confirmation of the email. how to Add auto email confirmation after people have registered, so when people have registrated, an email should be sent to their email account while another email be sent to xyz@xyzcompany.com

And in the email sent to people who just registrated, i need to provide a link for them to click to activate their account.

View Replies View Related

Send Confirmation Email

I have a Frontpage-ASP form that allows users to add their names to a database and indicate their interests for a newsletter that I do. I want to send a confirmation email from my system account when they submit the form. I don't want to use their SMTP because I also want to see what bounces from the address submitted. Frontpage does not allow sending to email and to a database at the same time.

View Replies View Related

Email Confirmation Link

I'm using CDO mail in my asp scripts, and I need to find a script that whereas a user signs up for your website.

when he hits submit,an email goes to his email box with a confirmation link for him to click so to ensure he has a valid email address. Does anyone know of a package or series of scripts that works with this?

View Replies View Related

Adding Delete Confirmation

How would I add a delete confirmation popup box for the following? Here's what I have... A table (not a form) that contains this line: Code:

View Replies View Related

Zip Codes

We have "orders" that are entered into our database through a data entry web-based application that we've built.Typically,the user enters the city/state/zip code/county. Now they want it to be able to autopopulate the city/state/county based on entering only the Zip Code.

We realize this can be a problem as Zip Codes can overlap different counties/cities/etc.Is there a good way to handle this?Perhaps some kind of control we can use on an ASP page that will read our Zip Code data and handle this somehow?

View Replies View Related

Signup, Confirmation Email, Login

tell me in a ZIP or upload the code to a simple system that:

uses an access database and:
Allows someone to signup.
Get a confirmation email
Login
And for them to be able to change their password from a page.If it is possible could you please make it so that it says "you are logged in as" and gets something form the access database like their email address or username.

This is just so that I can see how to link all of the code and learn some of the language so I can help people in the future. This code that hopefully will be provided wont be sold given away or used commercially.

View Replies View Related

Promotion Codes

I have designed an e-commerce site for a friend and he now wants to add promotional codes to the site t work as follows:

The first 100 users to subscribe to the mailing list will be sent a promotional code be the site owner (via email) entitling them to 25% off their next purchase.

What I want to know is the bet way to implement this using ASP and access and also how to ensure that once a Code has been used by a visitor then it cant be reused again.

View Replies View Related

Action Codes

Having a problem with a page being skipped in the cart. Intermitting problem here. Action code 38 then 47 when this occurs.

View Replies View Related

Including Asp Codes

I have included all the db scripts in asp above the <head> tag and <html> opener tag.When i submit a page, to add a record that record just get doubled and i dont know why that is happening.It dont happen always but now and then. The problem is not with cliking the submit button twice. So all i want to know is if it may be a problem with including the asp codes above the html tag or not?

View Replies View Related

Asp Codes Or Articles

Does anyone have codes or articles related how to make Yahoo-like directory-based serach engine which the categories of the post can be change from one to another, theoretically expandable to unlimited level of directories, etc.

View Replies View Related

Revise Codes

I'm working to revise some code I had the misfortune of inheriting and am hoping someone can either give me a quick explanation or link to some more information. I need to figure out how I can edit a constant.

Specifically, I keep coming across things like
const MN_DIRECTORY=1
const DIR_RESUME_URL=22

and I need to know a.) what the values mean and b.) how I can edit these.

View Replies View Related

Validation Codes

the code for validation? What I'm trying to do is if a person forgets to fill out something on a form...I want a pop up that will remind them what information they forgot to fill in. For example "Please enter your name before submission."

View Replies View Related

How To Log ASP-error Codes?

I would like to write ASP error codes in a log file. Error message would be
for example:

ADODB.Fields error '800a0cc1'
Item cannot be found in the collection corresponding to the requested name
or ordinal.
/ASP-application/page1.asp, line 67

I've learned that it is possible to get some information with the
'err-object' of VB. Unfortunately these codes and descriptions are not that
good as the ones ASP itself generates. First of all I'm interested in the
description ("Item cannot be found in..") and the line in the ASP-Page where
the error occurs.

Does anybody know how to catch this information?

View Replies View Related

Distance Between Two Zip Codes

I am trying to find a software that can find distance between two ZIP codes. I think most of them do it by having the longtitude and latidute of each ZIP, and substract. But this gives the air distance. Where can I find software that find the ground distance (like in Mapquest).

View Replies View Related

Encrypt Codes

Does anyone out there know how to encrypt the entire ASP file? That means when a person tries to view my ASP source code, it will display as rubbish. Can't use Script Encoder (srcenc.exe) cause out there in the market exist a freeware Script Decoder (scrdec.exe) which can easily decode back the file to its original state.

View Replies View Related

Changing The Link On FP Generated Confirmation Page

I am passing variables around from page to page using the following:

../new.asp?Info=stuff&name=Fred

then re-capturing it with:

<% 'Get the users info passed from the previous page
strUserInfo = Request.QueryString("info") %>
strUserName = Request.QueryString("name") %>

I use that info to personalize pages:

Hello <% strUserName %>, glad you are back to work on your <% info %>.

This works great for pages/forms that only update a record or display the strings, but the problem I'm having is with a form that creates a brand new record using the passed data.

I use hidden inputs into the new record so that the user does not have to re-enter it but when they hit submit Front Page posts a confirmation page with a link to return to the same form. I need to change that link but cannot figure out where the confirmation page is generated.

View Replies View Related

Asp/ado/xp_sendmail/return Codes

I have a stored procedure that builds and sends an email using xp_sendmail. It is called after the user makes a change to a form (it tells the support centre that a change has occurred.)

The last bit of my SP is this:
-- It fails if it has no recipient list
if isnull(@recip, '') = '' set @recip = @supportemail

declare @rc int -- have also tried changing it to bit

exec @rc = master..xp_sendmail
@recipients = @supportemail
, @message = @msg
, @subject = @subj
, @no_output = 'False'
, @query = @q
, @width = 200

/*
Return Code Values
0 (success) or 1 (failure)
*/

select @rc
return @rc
If I call it through query analyzer, @rc is 0 and I receive the email.
If I call it through my ASP page (which worked earlier), cint(rs.fields(0)) is -1 and I do not get the email.

strSQL = "exec pr_EmailNotification " & iRequestID
writeline "<P>" & strSQL

set rs = ConnObj.Execute (strSQL)
writeline "<P> Result: " & cint(rs.fields(0)) '0 (success) or 1 (failure)

(All variables are declared.)

It was working earlier, I had proven it... I thought it was the return @rc line that was doing it and was just keeping in select @rc for debugging. When I was ready to move on, I removed my debug statement, and then it started failing. I've put it back in, but it still fails, so I must have also removed something else, or changed something, or something.

I'm at wits end. It still works perfectly through Query Analyzer. But not ASP.

View Replies View Related

Pages Showing Codes In IE

when i try to view an ASP page in my IE web browser, all i see are the codes used to design the page but when i preview 'em in Dreamweaver its okay.Why is it so ?does it mean if i publish my asp pages to the web; thats how they'll be on other people's browsers ?what do i do to be able to see the actual web page and not the codes in an ASP page.

View Replies View Related

Auction Website Codes

Is there any sample codes/projects that does auction website ?

View Replies View Related

Codes To Create Pages

I have created a form with the folowing properties, first name, last name, registration number; course; grade etc I have passed this form to a page to be called create_table.asp, and on submitting the form.

I want this page (create_table) use the info from the form to create tables in an access database (jacko) each time the submit button is pressed with the tables to be named automatically according to the convention fname_lname. I also want to create a page that I can use to edit all the tables in the database can any guru assist me with the required asp codes.

View Replies View Related

Distance Betweeen 2 Zip Codes

anyone knows what the formula is for finding a distance betweeen 2 zip codes?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved