Or you could do this to make the page only
accessable to you.

http://www.mysite.com/cronpage.php?secretpassword=
iud88383



-----Original Message-----
From: John Holmes
[mailto:[EMAIL PROTECTED]]
Sent: June 4, 2002 4:45 AM
To: 'Edgard Berendsen'; [EMAIL PROTECTED]
Subject: RE: [PHP] Cronjob security


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:[EMAIL PROTECTED]]
> Sent: Tuesday, June 04, 2002 2:14 AM
> To: [EMAIL PROTECTED]
> 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"
<[EMAIL PROTECTED]> wrote in
message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > 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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to