Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Apr 2005
    Location
    Melbourne Aus
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    need help creating a basic online booking system

    Hi

    I have only been learning javascript for a few months now as part of a MM course I'm doing. I have been asked by a friend to help him create an online booking system.

    He basically wants users to fill in a form which he wants to notify him via e-mail of the users details but also update a calendar so users can see when a holiday house is available or has been booked. We haven't even started to learn forms yet but I want to do this as a long term real life project.

    If I could get some general advice on what would be needed to be done to acheive this goal and any links to possible examples of sites that use this and code I would appreciate it.

    Also how does he go about setting up credit card facilities on his site so people can pay online.

    Thanks

    Sean

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Edinburgh, UK
    Posts
    402
    Thanks
    2
    Thanked 1 Time in 1 Post
    You can only do half of what you want to do. You can have the form return all the information to an email address (don't think you even need JS to do this), but JavsScript cannot read/write to files. This means that any data you want to store cannot be stored as there's no way to store it.

    For what you want to do, you will need to use a serverside language (my favourite is PHP) and then use this to do everything that you want i.e. Send the email and save the data.

    Have a look at this post (you may want to have a look at the posts above it to put it into context) for more information. There are plenty of tutorials around on how to do the things you're looking for, so try google too

    Hope that points you in the right direction
    Rich

    "An expert is a person who has made all the mistakes that can be made in a very narrow field."

  • #3
    New to the CF scene
    Join Date
    Apr 2005
    Location
    Melbourne Aus
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi

    Thanks for your advice.

    Sounds like it's way to advanced for me at this stage.

    Regards

    Sean


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •