Re: PHP script to only be accessed by cron [message #175303 is a reply to message #175302] |
Thu, 01 September 2011 19:45 |
Luuk
Messages: 329 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 01-09-2011 21:25, The Natural Philosopher wrote:
> Luuk wrote:
>> 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.... ;)
>>
> Or ..programming languages...and computer software architecture..
>
sorry,
i still dont get what the OP's question has to do with 'a loc of calls
to libraries'
I know enough about programming languages and/or computer software
architecture ..... (enough=enough)
--
Luuk
|
|
|