Re: [PHP-INSTALL] php returning completely empty documents on new apache install

2006-03-13 Thread php
Is this your own server that you have complete access to, or is it an ISP machine? If you are running Apache under your own personal user account, where are you putting your website pages? Are they under your personal home directory as well? If so, it may be that php is not configured to pull

Re: [PHP-INSTALL] php returning completely empty documents on new apache install

2006-03-13 Thread Matt G.
Yes, compiled against apache 1.3.34.  I never even downloaded a 2.x version...   One non-standard thing I'm doing is running apache under my personal user account on this machine.  (I don't have root)  But I wouldn't think that should be a problem.  Is it possible that php is somehow running into a

Re: [PHP-INSTALL] PHP Snippet on a web page

2006-03-13 Thread Paul Reinheimer
Two problems in your code: 1) for($i=0;$i<$wordnum;$i++) { $re_string=" ".$string_arr[$i]; } Should be for($i=0;$i<$wordnum;$i++) { $re_string .= " ".$string_arr[$i]; } Notice it's .= rather than =. You want to add to what you had a

Re: [PHP-INSTALL] php returning completely empty documents on new apache install

2006-03-13 Thread php
This is really strange cause normally php works just fine! Have you compiled php5 against Apache 1.3.34, and not a 2.0.xx version Matt? Keith On Sun, 12 Mar 2006, Matt G. wrote: > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > From: Matt G. <[EMAIL PROTECTED]> > Subject: [SPAM] Re: [PHP-INSTAL