On Tue, Jun 04, 2002 at 09:51:18AM -0400, SP wrote:
> Or you could do this to make the page only accessable to you.
> http://www.mysite.com/cronpage.php?secretpassword=iud88383
You could also use .htaccess or checking $_SERVER['REMOTE_ADDR'] to see
that the request is coming from your server. O
nal 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.
&g
gt; 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.
>
> Tha
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 ha
Sire:
On Mon, Jun 03, 2002 at 11:47:50PM -0400, Edgard Berendsen wrote:
> I'm using the following cronjob in my remote server:
>
> MAILTO="[EMAIL PROTECTED]"
> 0 0 * * * wget -Ofile.log -q -T10 http://www.domain.com/script.php /dev/null
>
> This is the only way I can run a cronjob successfully
I'm using the following cronjob in my remote server:
MAILTO="[EMAIL PROTECTED]"
0 0 * * * wget -Ofile.log -q -T10 http://www.domain.com/script.php /dev/null
the script.php is a normal php script.
This is the only way I can run a cronjob successfully but I've read
it is un-secure.
Is this true?
6 matches
Mail list logo