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? AddType application/x-httpd-php .php .php4 .php3 .

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 ''; passthru(fortune); echo ''; Should do it. I use this for a nice little Server Status page that iterates

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 ''; passthru(fortune); echo ''; Should do it. I use this for a nice little Server Status page that iterates through an array of unix commands, works like a charm.