Hello, I'm trying to use phplib, I have connected to a postgres
database, but when I execute a script, that is contained in the samples,
an error appears.
The script is :
<?php
page_open(array("sess" => "Example_Session"));
?>
<html>
<head><title>PHP3 test page</title></head>
<body bgcolor="#ffffff">
purl("index.php3")?>">Load the simple page
again.
purl("showoff.php3")?>">Load the complex
example aga
in (login as kris, password test).
purl("defauth.php3")?>">Load the default
auth exampl
e.
purl("logout.php3") ?>">Logout and delete
your authe
ntication information.
<?php
page_close();
phpinfo()
?>
</body>
</html>
And the error is:
Fatal error: Call to unsupported or undefined function page_open() in
/usr/local/httpd/htdocs/pages/test.php3 on line 2
Why can't I call page_open()? Must I import any library or class?
Thank you very much.
Hello, I'm trying to use phplib, I have
connected to a postgres database, but when I execute a script, that is
contained in the samples, an error appears.
The script is :
<b> <?php</b>
<b> page_open(array("sess" => "Example_Session"));</b>
<b> ?></b>
<b><html></b>
<b><head><title>PHP3 test page</title></head></b>
<b><body bgcolor="#ffffff"></b>
<b> Load</a>
the simple page again.
</b>
<b> Load</a>
the complex example aga</b>
<b>in (login as kris, password test).<br></b>
<b> Load</a>
the default auth exampl</b>
<b>e.<br></b>
<b> Logout</a>
and delete your authe</b>
<b>ntication information.<br></b>
<b><?php</b>
<b> page_close();</b>
<b> phpinfo()</b>
<b> ?></b>
<b></body></b>
<b></html></b>
And the error is:
<b>Fatal error: Call to unsupported or undefined function page_open()
in /usr/local/httpd/htdocs/pages/test.php3 on line 2</b><b></b>
<b> </b> Why can't I call page_open()? Must I import
any library or class?
Thank you very much.