Last Digits Of A C.card

I saw in SPF an ASP code that was usable to hide the first digits of a credit card number and replace them by a "*". I'm really sorry to post such a thread, but I can't find it back. Does anyone have the link? I've tried to check it in the funky functions and sections like that. Maybe just missed it but well. tried to see many times.

View Replies


ADVERTISEMENT

2 Digits

How can I create a loop that goes from 01 to 12, to show months of the year as two digits, or how do I change "1" to "01"

View Replies View Related

Derive The 1st 4 Digits

This is probably an easy answer, however my mind seems to have gone blank about scanning a barcode in, and taking the 1st 4 digits of the number and storing it into a session variable to be referenced later in this application.
This session variable will then be checked against an ACCESS database to see if the product exists. I assume I use the LEN function? LEN(VariableName, 4)?

View Replies View Related

How To Convert To Get Only 2 Digits

How do you change the DateDiff function to give only 2 digits?

[CODE]
ltOffHours = Abs(DateDiff("h", CDate(rsRecs("EndTime")), CDate(rsRecs("StartTime"))))
ltOffMinutes = Abs(DateDiff("n", CDate(rsRecs("EndTime")), CDate(rsRecs("StartTime"))))
ltOffTime = ltOffHours & ":" & ltOffMinutes

It gives me I.E. 4:345, I need have it read only 4:34 minutes. anyone know how to do this?

View Replies View Related

Digits Calculating

when I calculate a Digits for example: 101.12 * 1.21 the resilt is 122.3552 This one should be 122.36 and if it is 122.3549 to be 122.35 How can I make this thing works?

View Replies View Related

Format Number To 4 Digits

I have an access database with a table called jobs with a field called 'jobnumber'. I have this set up with a format mask of "0000" so that "1" becomes "0001" etc.
However when pulling this data out in Dreamweaver the formatting is lost.

Does anyone know how I can set this in Dreamweaver?

View Replies View Related

ICurrent To Double Digits

converting a single

digit (ie: 1, 2, 3, etc) to double digits (ie: 01, 02, 03, etc).

I am trying to convert the date in DD/MM/YYYY format so it is always displayed as 01/01/2004 instead of 1/1/2004.The script I am trying to embed this into has similar attributes to the Calendar on this site located at http://www.asp101.com/samples/calendar.asp.and the objects that require to be double digits are iCurrent and Month(dDate).

View Replies View Related

Display 3 Digits Autonumber

I am using Ms Access database and I have set 3 digits (e.g. 000) for an autonumber field of my table.Its working fine in Access and incrementing automatically like this (001, 002, 003 ...), but when I call the data on a web page using ASP its displaying these numbers like this (1, 2, 3, 4 ...) I dont understand why is it not displaying the numbers as it is in the table.

View Replies View Related

Forcing Date Into 2 Digits

I am storing a datetime into SQL Server 2000 field in datetime format. For single-digit months and dates, it is leaving the 0 off, like this:

11/6/2003
1/5/2003

For reasons having to do with technical requirements, I need to have it put the 0 in when needed, and not do it when it already has 2 digits:

11/06/2003
01/05/2003

How can this be done? When I get the value of the date in the first place, it is using the Now() function. For some fields, I only need the date, not time, so I do a DateValue around the result of the Now. Is this solved with ASP? Or do I need to do something in SQL Server?

View Replies View Related

Question On Digits And Special Characters

in my asp form i would like to have a field which can ONLY accept
digits BUT can accept special characters as well such as: &,$$,##.
i.e: if the user enters :

147hhh, or P44556HH or QSSPE$% ---> this will be invalid
##123,45SS---> this is invalid
125&125#10$---> this is valid
12456--> this is valid too

is there any way to do this????

View Replies View Related

Display Fixed Decimal Digits

I have variable, say "total". It can be an integer or floating number.

No matter what value it stores (5 or 5.1 or 5.24), when I display it, is
there a way I can make it display it with fixed 2 decimal digits, like 5.00?

View Replies View Related

Convert State Names To 2 Digits

I currently am using a script which submits full state names to a payment processor. However, the payment processor only accepts 2 digit state names. Does anyone have a premade code for asp that converts state names into 2 digit ones.

example:

If statename = "New York" Then
statename = "NY"
End If

for each state.

View Replies View Related

Displaying Only First 2 Digits Of A 5 Digit Number

I have a 5 digit account number, but I need only the first 2 digits of the number.

This shows the account number <%=rsSelSpecials("olaid")%>.

View Replies View Related

Form Validation(checking For Digits And Blank Spaces)

i have a form for users to enter their name password and e-mail,i am currently using javascript to check that all details have been filled,

if(myForm.fname.value=='')
{
alert("Plz enter a first name")
return false
}

This works if the field is left blank however if the user enters numbers(1,2) or spaces i.e.(" ") how do i deal with these,i also need to check that the e-mail contains "@" and "."

View Replies View Related

Detecting And Converting Letters To Digits In Input Form

I need a function for blocking or converting letters inserted into a Form to digits, since the Data will be used in mathematical functions.

Is there a specific seach-function for letters, or:

If Input1(not a digit) then...
Else... Input1 * 5...

?

View Replies View Related

JMail And E-card

i am using a form that sends an e-card..to explain briefly i am giving the code:

Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.ContentType = "text/html"
JMail.CharSet = "ISO-8859-9"
JMail.ServerAddress = "mail.mydomain.com:25"
JMail.Sender = "bla@mydomain.com"
JMail.AddRecipient theiremail

here problem comes. when user enters a different e-mail address (not same with my domain)
it gives error. how can i solve this problem.. can jmail send an e-mail to differents domains?

View Replies View Related

Credit Card Authentication

What all is involved in a secure site? Not just good security, but an actual secure connection?

Is it all up to the host? Is there a lot of extra/different ASP stuff? What about credit card authentication? Shopping carts?

View Replies View Related

Question About Wild Card Ip's

I want to set a range of IP's using wildcard symbols but the script doesn't seem to be working. I'm putting the ip in a varchar value and calling it from the script. Can't something like 68.43.*.* work?

View Replies View Related

Random Card Generator

I think most of you have run into the problem of generating random cards (shuffling them) in almost every programming language. If not here is your chance .Now I want to try this in ASP. Ya ya I know WHY ASP...because I want a challenge and want to see how you people would think of doing it.
---------------------------
Rules To Develope:
---------------------------
- 40 cards
- 4 different suits
- each suit 10 cards with number 10,9,8,7,6,5,4,3,2,1
All it has to do is generate an ASP page listed with the randomly generated cards.

View Replies View Related

Folder Wild Card In URL With ASP

I am trying to create a URL for each user in my site something like
http://domainname.com/UserName But creating a folder for each user
seems a waste.

Basically I'd like to make the URL point to the index.asp without
changing the URL with redirects and such...

View Replies View Related

Validate Credit Card

How can we validate credit card in ASP?How can we create a dll file in VB?

View Replies View Related

Credit Card Processing

I'm working on a new project that involves purchasing stuff online. But I don't really know where to start. I know you need to process the cards through a gateway, and that's about it.

What I want is a secure page where the customer enters their credit card info and hits submit. I don't want to process it manually, I want it all to be automatic. I'm not asking for help coding this, because I understand its very complicated, and I don't trust that I will be able to make it secure if I were to do it myself.

What I'm asking is, can anyone recommend a good ASP script for processing credit cards? (all cards will be from the UK, so visa, mastercard, maestro, switch, solo etc...).

I don't want a shopping portal, just the credit card processing bit is what I'm after (anything under $100 would be ideal)! And also, what is a good gateway to use in the UK? And any other info/tips you can give me would be great too!

View Replies View Related

Encryption Of Credit Card

I am trying to create a simple, secure credit card payment system using either public/private key encrytpion.

I know public key encryption is probably more secure, but it is also slower from what I have been reading. What I am looking for is some examples of public or private key encryption.

View Replies View Related

Credit Card Information

My client wants to have credit card information fields on his forms for his website visitors to be able to buy his wervices by credit card.The credit card info-Brand, number and expiry date will be sent to the server and stored in the database as the .asp page calls itself on Submit.

How secure is this?I've never had to worry about it before but is form information encrypted before being sent to the server? Are there any legal obligations for handling peoples credit card information?The actual credit card payments will be handled manually at the clients company.

View Replies View Related

Credit Card Form

where I would start if I wanted to start accepting credit cards as online payment instead of paypal?

View Replies View Related

Credit Card Validation

I cannot seem to find an asp script that will succesfully validate a credit card for me. I have 3 fields to work with. Very simple I thought.

CC_NAME
CC_TYPE
CC_EXPIRE

I just want to check the cc againt the algorithm used to verify number matches type and expire date hasn't past.

View Replies View Related

Encrypting Credit Card Info In ASP?

I have a website for our online store. Until now we have received payment through email, which we then run in our local store's Credit Card machine.

We want to move up from there. I have signed up for Paypal and that is easy.

We want to also be able to accept the CC info in our own website securely. We are not looking to actually run the Credit Card, we just want to get the information from the user and pass it on to ourselves in a secure manner, so that we can run the information locally on our Credit Card machine.

So, I guess, my questionj is not really about credit card's at all. Rather I am asking, how can I get a form's data sent to my computer 100% (or close to that) securely.

View Replies View Related

ASP Ecard/business Card Creator

I would like to create a page where someone could select from say 12 different cards, Once they have clicked on the card it will take them to a page where they can input about 5 - 6 lines of text, select a font, font color and font size they would like to use.

Then they can hit a submit button that will take them to a confimation page showing them the card they have created. Once they view the card they can hit an aprove button which will then enter the information they have input into a database and also email the completed card to them as well as to myself so I can see what they created.

Does anyone have any idea where I could find a tutorial to help me do this? I am pretty sure I will have no problems with most of it. However, my concern is the font style, color and size selector, i have no clue how to go about creating something like that.

View Replies View Related

Online Credit Card Purchases

Either in the US or EU, when a customer makes a credit card purchase online, for how long after can the vendor legally store the encrypted credit card number in its database?

Its extremely hard to find this info online.

View Replies View Related

SSL - TAKING CREDIT CARD DETAILS

I know how to build forms with ASP and process user input. Now i want to take credit card payments via a form. i will then download the details and process them via our credit card
machine.

do i just create a regular ASP form and use a certificate on the server to encrypt the data ? ie https://server/getpaymentform.asp

there is nothing special about the form is there? it is just the same as the form i have been using for user input.

View Replies View Related

HSBC Secure EPayments Card Processing CPI

Has anyone set up the HSBC Secure ePayments Card Processing CPI?

I'm having some difficulties understanding the 25 page integration guide and thought maybe someone online had possibly set it up before.

View Replies View Related

Regular Expression :: Credit Card Numbers

So I have a form field that's for a credit card number, right now it's set up so that it can only contain numbers and can only be 16 digits long.

regCard.Pattern ="^[0-9]{16}$"

What do I add to that so that the first digit cannot be 0?

View Replies View Related

Code To Submit Credit Card Information

I need to add code to a page that will accept credit card info and process it. The company that will do the processing is authorizenet.com. Problem: I have talked to these people and they have not been clear on how to do this. Additionally, I received from them a 75-page document that gives no examples.

I was under the impression that it should be something easily accomplished; i.e. a few lines of code in my html. Does anyone out there have an example of how to do this?

View Replies View Related







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