FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP script to only be accessed by cron
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP script to only be accessed by cron [message #175305 is a reply to message #175303] Thu, 01 September 2011 23:30 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
Luuk wrote:
> 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)
>
The solution involves accessing the process list.

There are less tools in PHP libraries than in C ones.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: php help
Next Topic: Newbie: very basic jquery drag drop
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 18:26:58 GMT 2024

Total time taken to generate the page: 0.04308 seconds