E-cards

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
PaulC
Forum Newbie
Posts: 1
Joined: Sat Oct 26, 2002 4:04 am
Location: England

E-cards

Post by PaulC »

Quick question. I have developed an on-line greetings e-card system using a combination of Apache2.0.43/MySQL3.23.53/PHP4. All works fine. What I need to do is instead of e-mailing the e-cards immediately (via PHP), allow users to send them at specified times and dates. Clearly some executive function is required on the server to read the database and execute the necessary code to effect this at the appropriate time. I have no idea how to go about it. Can you point me in the correct direction? Just need to know what I should be reading about.

Many thanks,

PaulC
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Direction

Post by AVATAr »

On linux use cron tasks // help: man cron

hope it helps
Ali J
Forum Newbie
Posts: 1
Joined: Wed Feb 16, 2005 7:37 am

E-card mods

Post by Ali J »

I'm assuming you managed to do this in the end, so if someone could explain this to me please? I'm starting out with the simple E-cards tutorial on the site: http://www.phpdeveloper.org/section/tutorial/34

I have a few things i'd like to do with it, first of all, I want to add a feature for selecting a background color

Secondly i want to have a few predefined messages (e.g. Happy birthday, Congratulations, etc)

Lastly, I want to have this option for sending the card later on, allowing users to send them at specified times and dates. I don't know how to do this and implement the cron command and all.

Paul, I would really appreciate it if you could help me out as i'm assuming your site is probably up and running, and if we could see a link to it? I'd really appreciate any help from anyone on this. Thanks in advance.[/url]
Post Reply