Hi
I need help? please
In my site i have smth like newsletter system.
Logged in users can post information about their services and this information is shown in my site. I'd like to send such information (posted by users) to the mails of the other member-users of my site. I wont the system to check, let's say, every hour the state of database(if there are any new injections) and if there are new posts these ones could be sent to the other members
otherdummy
0
Newbie Poster
Recommended Answers
Jump to PostHey.
To do that, you would need to start by writing the script that checks the database and sends the emails. Then you would have to have your Operating-System execute that script at a given interval.
Jump to PostJust an addition to Atli's post (good advice, BTW):
If you're running something like cPanel, setting cronjobs is easy. However, some hosts don't provide this service as standard and you may need to contact them to set one up for you. The cronjob will just run a php script every …
All 6 Replies
Atli
182
Posting Pro
otherdummy
0
Newbie Poster
diafol
otherdummy
0
Newbie Poster
Atli
182
Posting Pro
otherdummy
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.