RE: [PHP] Cronjob security
| From: | John Holmes | Date: | Tue, 04 Jun 2002 08:45:10 +0000 |
| Subject: | RE: [PHP] Cronjob security | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100532@lists.php.net to get a copy of this message | ||
You should put a check in your script to see if the mail has already
been sent for the day and don't send another if it has. That way someone
can't go to the page and hit refresh a bunch of times and cram your
inbox full of mails.
---John Holmes...
> -----Original Message-----
> From: Edgard Berendsen [mailto:edgard@ebm.cl]
> Sent: Tuesday, June 04, 2002 2:14 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Cronjob security
>
> If you go to the URL I receive a mail telling me if anybody of
> my DB has birthday. Nothing special.
>
> Thanks!
>
> "Analysis & Solutions" <danielc@analysisandsolutions.com> wrote in
message
> news:20020604041539.GA24171@panix.com...
> > Sire:
>
> > >... but I've read it is un-secure. Is this true?
> >
> > Depends. What happens if I go to that URI and try to run the
script?
> > If it would cause problems, then yes, it's insecure. If it doesn't
> > matter, than no, it's not. So, what would happen if I hit your
script
> > with my web browser?
> >
> > --Dan
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php