[wp-hackers] Future Posting Fix Request

Ryan Boren ryan at boren.nu
Sat Jul 22 07:13:01 GMT 2006


Computer Guru wrote:
>> I'm sorry, one of us is lost. What "default php cron interface"?
> 
> Sorry, I meant php via the default cron interface.

It's not default on all platforms.

> What I'm thinking:
> 1. Do whatever it is we're already doing.
> 2. CGI? We're stuck, go on to step 3. Else Finish.
> 3. Require access to php exec().
> 4. Using exec() add an entry to the crontab.
> 
> Exec() is enabled on like 99% of all systems, even in safe mode.

It must obey safe_mode_exec_dir, I believe.  Plus, a number of hosts do 
stuff like this:

disable_functions = proc_open , popen, disk_free_space, diskfreespace, 
set_time_limit, leak, tmpfile, exec, system, shell_exec, passthru

Ryan


More information about the wp-hackers mailing list