Re: PHP script to only be accessed by cron [message #175301 is a reply to message #175290] |
Thu, 01 September 2011 17:11 |
Luuk
Messages: 329 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 31-08-2011 21:49, The Natural Philosopher wrote:
> Luuk wrote:
>> On 31-08-2011 10:20, The Natural Philosopher wrote:
>>> jwcarlton wrote:
>>>> I'm writing a PHP script that I want to ONLY be accessed by a
>>>> predefined cron. Can you guys suggest a way to prevent non-cron
>>>> accesses?
>>>>
>>> 1/. Write it in a proper language for this purpose, C, not php
>>
>>
>> The purpose of this script is not give, at least not by the OP.
>> Can you tell here why PHP would not be the 'proper language'?
>>
>
> the main thinking Luuk was that to do what he wanted would invove a lot
> of calls to libraries that are not a standard part of PHP but are a part
> of the C library
>
i dont see this part:
"to do what he wanted would invove a lot of calls to libraries"
but it can be caused by my lack of understanding English.... ;)
--
Luuk
|
|
|