Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Webpage online at certain times
Old 05-08-2008, 05:49 AM Webpage online at certain times
Junior Talker

Posts: 2
Name: kees
Trades: 0
i don't exactly know where to post this subject, so if i posted in the wrong section correct me

well i have the folowing problem:

i hosted a chatbox or a forum. this chatbox is hosted on a different place as the forum, so they are not connected with each other.

what i want to do, is give some "opening-times" to the cahtbox. for example: it is only open form 20:00 to 22:00. if you try the chatbox webpage on an other time it will display something like: "opening times are from....."

i already searched the internet for hours for some script that can do this, but without succes.
so my question is: somone know where fo find a script for this? or somone has one? or maybe somone know how to make it?

already tnx
Kees321 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-08-2008, 07:50 AM Re: Webpage online at certain times
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
server time?

local user time?

Your time?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-08-2008, 08:00 AM Re: Webpage online at certain times
Junior Talker

Posts: 2
Name: kees
Trades: 0
i think server time is the most usefull for a chatbox

ppl that visit the box are all from the same country (holland) so everyone in the box is from the same timezone
Kees321 is offline
Reply With Quote
View Public Profile
 
Old 05-08-2008, 11:00 AM Re: Webpage online at certain times
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Is the server in the same time zone as the customers?

and what server side code is available?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-09-2008, 03:41 PM Re: Webpage online at certain times
willcode4beer's Avatar
Super Moderator

Posts: 1,533
Name: Paul Davis
Location: San Francisco
Trades: 1
Simplest would be server code that only allows access to the code during "available" times.
How you do it depends greatly on the server (and technology) you are using.

Though, not for chat, I've used the Quartz Scheduler to implement time based access in J2EE applications.
__________________

Please login or register to view this content. Registration is FREE

willcode4beer is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Webpage online at certain times
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27448 seconds with 12 queries