Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Calendar/booking script

Calendar/booking script

Calendar/booking script


I have recently been given the task to supply a script (preferably in PHP or Perl), which allows users to book a specific period of time aboard a boat. My clients requirements are very specific and i'm struggling to find a pre-coded script which fufills atleast some of the key requirements. Plan B would be to code it myself from scratch, but i'm on a strict deadline, and i'm hoping to find a free script.

Here are the key requirements:
- There are 2 types of users: clients and the general public, with different rules applying to them.
- Clients can book from 1 hour up to 1 week aboard.
- The general public can book from 1 hour to 12 hours aboard.
- There must be no boarding the boat between 7pm and 7am.
- Clients and the general public can bring 1 guest each.
- There must never be more than 5 people aboard at a given time.
- The general public must book atleast 7 days in advance, whilst clients must book atleast 24 hours in advance.

I can imagine it would be something similar to a flight booking system.

If anyone could suggest any ideas, or a script to check out, I would be very grateful.

Thank you,


RE: Calendar/booking script

Your client's requirements are very strict - that is normal but who has set the deadline?


RE: Calendar/booking script


I am working for a client who has decided to travel by boat across the UK promoting and selling his products and services. I was only aware of this the day of posting, and am due in 7 days time to go aboard to set up other things. As he begins his "tour" the day I board, I really need to have this running by this time.
I have written some very rough pseudo code as a guide, however I am finding it hard to get to grips with the overall structure of such a script.


RE: Calendar/booking script

You may be lucky finding a pre made script but writing and testing one in 7 days is a very tall order.
Good luck any way.


RE: Calendar/booking script

Thank you,

I am still unable to find a pre-written script, however have started writing my own and I think I have it sussed. Thanks for your goodluck wishes.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close