Re: [phplib] page with no data From: Bogdan Morar (bogmor <email protected>)
Date: 03/15/01

> > After instalation of phplib, on the request of a page (ex: index.php3)
> > with page_open & page_close, I get the session cookie, and after that,
> > the page hasn't data inside. (0k size)
>
> what is the code between page_open() and page_close()?

The code is like this:
<?
    page_open (array("sess"=>"MySessionID");
    include($_PHPLIB["myConst"]."html/abc/myheader.php3")
    $MyDB = new MyDB_Sql;
    include()
    print "<html><head>";
    ......
    print "</html>";
    include($_PHPLIB["myConst"]."html/abc/myfooter.php3")
    page_close();
?>

The file is ok on another server, but here I don't know what is the problem
of phplib. My opinion is the error if from php-lib, not from database or
php.

Bogdan Morar

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>