|Booking Form Help (help is much appreciated)|
Okay here's the story.
I have to have a script for a booking form by Friday. I've still to actually learn the basics let alone something like that and in 2 hours I'm flying off to Australia for my Uncles funeral. It wasn't expected and has put all my plans all over the place.
I need your help. Can you make or show me a script for a booking form.
And here is the general idea of what's meant to be in this script:
When the user clicks the submit button the CGI program checks that amongst other things:
- No booking for more than 12 people may be made
- Bookings may only be made for the following month
- Bookings of children only are not acceptable.
- Only VISA credit cards are accepted.
- The card holders name should be potentially viable.
- The credit card number should be potentially viable.
- The card expiry date should be potentially viable.
- The script calculates and displays the total fee that is payable.
- Save each valid booking record as a series of fields (even if empty) separated by colons (:) as the
- Separate each record in the database by an EOL
- Prepares an email to send to the person making the reservation
Thank you so much for any help. I probably won't be able to post for a soon since I'll be on a plane in 2 hours or so.
[edited by: phranque at 1:52 pm (utc) on Feb. 7, 2009]
[edit reason] No urls, please. See TOS [webmasterworld.com] [/edit]
Welcome aboard Neku_Reaper, I'm afraid to say there are so many issues here it's not something that can be solved in a few forum posts. Looking over your list, I see,
- Do you have the skills to program such a system?
- Managing credit card info is dangerous waters, are all of the following true or do you understand their implications?
- Form processed on a PCI compiant server?
- If not, SSL cert installed, data passed to a credit card processor?
- I certainly hope this data is not to be emailed to the client or stored on the server, if so, are you familiar with a) the implementation of GPG/PGP keys and installing them on both ends of the connection (server and recipient email client) or b) the liability issues this presents for the client?
As you can see, the larger problem with your project is not one of implementation, it's one of security.
Welcome [webmasterworld.com] to WebmasterWorld!
|I've still to actually learn the basics |
Then I would suggest that you are in way, way over your head.
Is this for a school project or work assignment?
Won't actually be used for booking. And one credit card number will be used to test it.
So security isn't much of a problem in that sense.
I would suggest talking to your teacher, explain the situation about your uncle's funeral, and ask for an extension.
What about the other students? Is this assignment so completely over everyone's head, or is it just you who's behind on the basics?
As rocknbill pointed out, there are so many issues here. Just because it's a school assignment and not a real-world project doesn't mean you can ignore them.
Sorry to be so brutal, but using an existing script or having someone code your assignment for you is not the way to learn the material.
It isn't school as in teacher/pupil. Hard to explain really.
I've done basic perl programming and some web development already (which I would consider very basic) and basically I need a script that can fit the specifications above (html side of things is already covered) since I don't have the time to be writing it up. I barely have enough time to write this post up tbh. :p
Also it won't necessarily be an actual website for all to see and as for security, only sanity check is needed for name, email and credit card as well as the ability to send an email to confirm fake booking.
Afterwards I'd make any changes to match my needs if needs be.
Unfortunately an extension is out of the question no matter the reason. Way of life it seems.
Anyway thank you for your time.
Well that's very different . . . lol . . . however if you had considered the security issues I imagine your instructor would be pleasantly pleased. :-)
There's a lot here, no immediate script comes to mind but it wouldn't be all that difficult to program . . . i suggest installing perl on your laptop and taking it with you on the flight. You won't have Internet access, but you can work out the logic and debug it, then hit an access point when you touch down, upload and test. Good luck.