Re: PHP programs only work in one folder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



--- RR-News <dforeman@xxxxxxxxxxx> wrote:

> I have installed the BLOGCMS+PunBB facility under PHP 5 and Apache 2 in my 
> "BB" folder and they work great, but I have another folder with PHP programs 
> and the PHP code in the .HTML and .PHP files never runs. The HTML works 
> fine, but no PHP execution. BOTH folders are in my Apache .CONF with 
> identical settings. Both folders are in the same web root. I am trying to 
> launch those programs in IE via File/Open/Browse and clicking onthe html or 
> PHP file.

Please note the subtle difference between opening a PHP script in Internet
Explorer (or any other program) and opening Apache's processed output of the
same PHP script in Internet Explorer (or any other program).  That is, opening
'file://c:\webroot\index.php' is _not_ the same as opening
'http://www.webroot.com/index.php'.

Let me know if I can assist further.

regards,
Peter



		
____________________________________________________ 
On Yahoo!7 
Answers:  25 million answers and counting. Learn something new today
http://www.yahoo7.com.au/answers

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux