Can a PHP script be run regularly on a server without requests from a client?

前端 未结 5 1180
旧巷少年郎
旧巷少年郎 2021-01-13 15:02

I\'ll be writing a script to parse text documents into a MySQL database. I\'ll be converting PDF\'s to text with a separate utility. These PDF\'s will be submitted via e-m

5条回答
  •  迷失自我
    2021-01-13 15:56

    Check this baby out - http://www.iamjacksdesign.com/blog/check-pop3-email-with-php/ - there's also http://www.php.net/manual/en/ref.imap.php

    You can use cron to run your e-mail check script regularly - http://www.codewalkers.com/c/a/Server-Administration/Introduction-to-crontab/

提交回复
热议问题