Mailinglist Archive: opensuse (2407 mails)
| < Previous | Next > |
[SLE] PHPLIB
- From: snieto@xxxxxxxxxxxxxx (Silvia Nieto Santos)
- Date: Thu, 24 Aug 2000 12:26:03 +0200
- Message-id: <39A4F83B.330E29CA@xxxxxxxxxxxxxx>
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.<br
>
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.
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
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> <a href="<?php $sess->purl("index.php3")?>">Load</a>
the simple page again.<br</b>
<b>></b>
<b> <a href="<?php $sess->purl("showoff.php3")?>">Load</a>
the complex example aga</b>
<b>in (login as kris, password test).<br></b>
<b> <a href="<?php $sess->purl("defauth.php3")?>">Load</a>
the default auth exampl</b>
<b>e.<br></b>
<b> <a href="<?php $sess->purl("logout.php3") ?>">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.
| < Previous | Next > |