How to send on a specific day in php?

后端 未结 4 482
情书的邮戳
情书的邮戳 2021-01-22 13:24

I want to a e-cards or something like that. The user can choose the e-cards, after chosen, he must enter the some fields like name(to and from), email(to and from), message and

4条回答
  •  天涯浪人
    2021-01-22 14:03

    Yes, you need a script that runs every day. (Barring ridiculous maneuvers like trying to fake this by checking on Web requests.) The usual way to do this in a Unix context is called a cron job; if your hosting provider is Unix-based, you should look into what they provide for making cron jobs available to you. On Windows there's a parallel service called Scheduled Tasks.

提交回复
热议问题