Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calendar/booking script

Status
Not open for further replies.

Zhris

Programmer
Aug 5, 2008
254
GB
Hello,

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,

Chris
 
Hey,

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.

Chris
 
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.

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top