Re: .PHP code does not parse php5 Apache2 on windows
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: .PHP code does not parse php5 Apache2 on windows

From: Jerry Stuckle <jstucklex@attglobal.net>
Date: Wed Apr 05 2006 - 19:58:08 CEST

Massa Batheli wrote:
> David
>
> The apache logs seem fine at least no errors that seem to ring a bell .
> The simple PHP file you showed me is opened as a text file .
> It is only opened with a browser if encapsulated in html.Please let me
> know if that
> is any hint to the problem
>
> Massa Bathe
>

Ah, now the problem.

To get it to execute the PHP code, you MUST go through your web server - that
is, open a browser and access it with something like http://localhost/mypage.php.

Doing a File->Open in the browser or using any other tool to open it will not
execute the PHP code.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Received on Mon May 1 02:49:01 2006