hi all,

thanks for the replies.  many of you asked why I want to use php4 as a cgi.

basically it boils down to this, using PHP as CGI you can run PHP scripts
via cron tab, which eliminates the need for shell scripting (yeah baby).

i did some investigation a few months ago (when I was on a virtual host) and
found that cron could not call PHP scripts due to the fact that it's Apache
calling the cron process not root (or another user).

a work around seems to be sending everything to Lynx (or the equivalent) but
at the time my hosting provider would not allow me to do this.

anyone have a faster, more secure way to call PHP via cron?

p.s. in reply to my earlier post i got differing reports as to the security
concerns of running PHP as a cgi.  one person replied that cgi shoudl be
avoided at all costs while another said that he thought it was the way to
go.

thoughts?

p.p.s thanks for the replies to my questions, it's extremely helpful.

colin o.

colin olkowski - [EMAIL PROTECTED]
cell 917.549.8395
land 212.414.4481



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to