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

Posts: 2
Name: kees
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
 
Sponsored Links (We share ad revenue):
 
Old 05-08-2008, 07:50 AM Re: Webpage online at certain times
chrishirst's Avatar
Super Moderator

Posts: 10,783
Location: Blackpool. UK
server time?

local user time?

Your time?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
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
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
Super Moderator

Posts: 10,783
Location: Blackpool. UK
Is the server in the same time zone as the customers?

and what server side code is available?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
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
Webmaster Talker

Posts: 530
Name: Paul Davis
Location: San Francisco
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.
__________________
Paul Davis
willCode4Beer.com (coding for all the right reasons)
willcode4beer is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Reply     « Reply to Webpage online at certain times
 

Thread Tools

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

vB 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.14776 seconds with 15 queries