How to send a greetinng card on a future date?

They have: 5,633 posts

Joined: Jan 1970

Hi Friends,
Recently i'm working for a client on a greeting card script,They have asked me to modify the script,to allow the customers to send the card on the future date.Please clarify how the card will be sent on a future date.

Thank you.

[Edited by Neelimachowdary on Dec. 09, 2000 at 05:15 AM]

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

well, this is one way..

use a DB (flat file or whatever) and make a list of addresses that the card is to be sent to (and perhaps the date/time for each address, in case people want it sent on different dates).

use crontab to exec a CGI (daily, hourly or whatever) that looks through your DB, and sends the card out to the addresses that have that date/time.

I have no idea how to use crontab, I leave that part to the *nix guru in the other cube. Laughing out loud

Good Luck,

Mark Hensler
If there is no answer on Google, then there is no question.

They have: 1,587 posts

Joined: Mar 1999

max gave u the idea, u just need to do the research if u don't know what he's talking about.

i also pray for ur client if they're paying u to modify a script and u don't know what max was talking about.

good luck Laughing out loud

Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

what's wrong with my idea, Neelimachowdary?

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.