Link to home
Start Free TrialLog in
Avatar of ewocks
ewocks

asked on

Problem with reading page

Hi I am having problems running a web page using phplib session management

The problem I have seems to be with the PHPLLB stuff in that when I run a web page all I get is text from part of the .php page - I can see that when I run the page it is not distinguishing between '>' to denote the start of a code block and various locations where '>' is used in the code i.e.
The index.php page
<?
require "prepend.php";
require "../../../pplib/ooforms.inc";

put_headers();

page_open (array("sess" => seems to be seen as a code block - what I actually see on the web page is the remaining code and HTML in the page.

I know everything on the PHP side works as I have other pages that don't use the PHPLLB

Is there something I have not done?

BTW PHP5 -Apache2

Thanks in advance

Paul
ASKER CERTIFIED SOLUTION
Avatar of hernst42
hernst42
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ewocks
ewocks

ASKER

No that is OK - this problem has now gone away - I reinstalled PHP  and ran a page with phpino() and all was OK- However I cannot get any of the PHPLIB stuff to work - just get a blank page
I have extended the require to include the complete path of the prepend.php file I require but nothing!
For debuging purposes set the follwoing settings in your php.ini:
error_reporting  =  E_ALL
display_errors = On

So you will get the errors or PHP-warnigs to the screen and you can see whats happen.