Re: [PHP] verify my ISP

2003-11-03 Thread Mykroft Holmes IV
John Taylor-Johnston wrote: How can I verify if my ISP really does have PHP on a server I am using. They say if I want PHP, I must pay an extra $15 per month. Is there somehting I can put in my .htaccess to verify and maybe do this? IfModule mod_php4.c AddType

Re: [PHP] Php and Fortune

2003-10-22 Thread Mykroft Holmes IV
Chuck PUP Payne wrote: Hi, Is there a way I can get php to call the program fortune then print that a web page. Thanks. Payne echo 'pre'; passthru(fortune); echo '/pre'; Should do it. I use this for a nice little Server Status page that iterates through an array of unix commands, works like

Re: [PHP] Php and Fortune

2003-10-22 Thread Mykroft Holmes IV
Mykroft Holmes IV wrote: Chuck PUP Payne wrote: Hi, Is there a way I can get php to call the program fortune then print that a web page. Thanks. Payne echo 'pre'; passthru(fortune); echo '/pre'; Should do it. I use this for a nice little Server Status page that iterates through