Re: httpd not interpreting a php file
| From: | Gergely Buday | Date: | Sat, 25 Oct 2014 06:49:14 +0000 |
| Subject: | Re: httpd not interpreting a php file | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324004@lists.php.net to get a copy of this message | ||
On 24 October 2014 22:12, David OBrien <dgobrien@gmail.com> wrote:
> Is there an include file maybe with a diff extension that you were allowing
> as php?
$disp=new Disp("login.htm",array("LOGGEDIN","LOGIN"));
This Disp thingy cuts that html into pieces and displays one of them on request.
It is in another file, I guess that does not work for some reasons.
And, in spite of setting error_reporting(E_ALL), I do not get any
error message on this.
I put a Hello World echo and it does not show up.
Instead, code from this is displayed:
if (!$session->tryLogin($berlet_username,$berlet_password)) {
$OUT_hiba="Hiba! Hibás bérlet azonosító vagy jelszó!";
$OUT_berlet_username=$berlet_username;
as
tryLogin($berlet_username,$berlet_password)) { $OUT_hiba="Hiba! Hibás
bérlet azonosító vagy jelszó!"; $OUT_berlet_username=$berlet_username;
} } etc.
Could a non-initialised $session be the cause for this?
- Gergely