473,414 Members | 1,677 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

check on reading webpage

Hi,

I wonder if there is any one out there who could help me out, .... and
I am sure there is somebody !!

I want to implement the following :

a webpage with very important news should be read by a bunch of people.
These people are stored in a MySql database, and as they have to logon
to read the page, I can uncheck their names in the database as
indication they have read (or at least accessed) the page.

So far no problem, but now I'm looking for a system that can check the
readflag in the MySql database let us say, every week, and send a mail
to all persons which still have not read the page.This process should
go on until all persons listed in the database have read the page. Does
anyone know how this can be implemented ?

Thanks a lot in advance !!

Nov 21 '06 #1
2 1037
On Nov 21, 3:58 am, "rukkie" <ruk...@belgacom.netwrote:
So far no problem, but now I'm looking for a system that can check the
readflag in the MySql database let us say, every week, and send a mail
to all persons which still have not read the page.This process should
go on until all persons listed in the database have read the page. Does
anyone know how this can be implemented ?
Maybe I don't understand the question, but it seems like there are a
number of options. If you have the correct access on your server, you
could set up a cron job to run a PHP script at a certain time each week
which does the mailing. If not, as far as I know, you can really only
trigger the event by somebody loading a PHP script via the 'net. You
could make a page which only you can load (password/account protected),
and just make sure you do it every week. My preferred option in this
case is to check the date each time anyone loads the page. As long as
you get more than a few hits a week, and if you don't mind the email
being a bit irregular, then you could wait for the first person to log
in after a given time each week and launch the mailing process.

But I'm a relative novice and I'm sure there are better ways - anybody
else?

-steve hicks

Nov 21 '06 #2

Steve Hicks schreef:
Maybe I don't understand the question, but it seems like there are a
number of options. If you have the correct access on your server, you
could set up a cron job to run a PHP script at a certain time each week
which does the mailing. If not, as far as I know, you can really only
trigger the event by somebody loading a PHP script via the 'net. You
could make a page which only you can load (password/account protected),
and just make sure you do it every week. My preferred option in this
case is to check the date each time anyone loads the page. As long as
you get more than a few hits a week, and if you don't mind the email
being a bit irregular, then you could wait for the first person to log
in after a given time each week and launch the mailing process.

But I'm a relative novice and I'm sure there are better ways - anybody
else?

-steve hicks
I would do the same, as I think it's the easiest. I guess there are
more visitors per day, so if u can trigger a script that checks if the
last mailingcheck was at least a week ago. Or if it has to be on a
specific day of the week, just check if u have already done the mailing
since eg. last sunday. U can just create a table in ur database for
that and it's easy to follow up that way.
I'm sure there are options to do those tasks automatically like with
crontab, but I guess ur hosting company has to support that.

Regards,

Bart

Nov 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Boris ©avc | last post by:
I have a page and a sponsor. Every time a user click on a banner from our sponsor their webpage is opened. I'd like to reward these users, but how to check who clicked on a banner. I can't do...
3
by: Tim | last post by:
Hello All! I'm having a difficult problem and I'm wondering if anyone can help. Here's the deal. I have a webpage with multiple forms on it. All of the forms have drop down boxes that when...
3
by: Michel | last post by:
Hi, This is my first post and I may be asking a question that's got a very simple explanation. I hope. I'm building a website and testing it goes fine on Netscape and Mozilla. Pixel perfect.
7
by: gino | last post by:
Dear all, My monitor was set to 1600x1200 so the fonts in IE is too small for me even when I set the "View->Text Size->Largest"... I don't have previlage to change the monitor resolution... ...
1
by: martijn | last post by:
H! I'm busy with testing python and now i'm trying to check if a url makes a forward to a other location with the same content. So it will be possible to scan unique website's. I already made...
3
by: Deano | last post by:
Thought it might be a cool feature to allow my users to click a button, and connect to a webpage that would tell them if a more recent version was available. I can create a button that opens a...
2
by: Brett | last post by:
I'm using the web browser object: SHDocVw.dll. I do this in form Load() Me.AxWebBrowser1.Navigate("http://www.abc.com/") Sometimes when a website loads, it causes horizontal or vertical scroll...
10
by: Dieter Pelz | last post by:
Hallo, what is the best way to check the installation of mfc80 and vcrt sidebyside assemblies? Best Regards, Dieter Pelz
7
by: dakrin | last post by:
i'm trying to programatically read the xml that is used to create a webpage through xslt transformations. I can view the XML when i go to "View Source" in internet explorer, but whenever i try...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.