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.
Ciao Silvia, I'm a not using PHPLIB so I can only give you some indications. I seem to remember that PHPLIB define some functions and classes in some files which you need to include into your script. You should find out where the page_open function is defined (a simple grep page_open *.* will do the job) then include that file into the sample script. HTH Maurizio Il gio, 24 ago 2000, Silvia Nieto Santos ha scritto:
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"> Load</a> the simple page again.
Load</a> the complex example aga in (login as kris, password test).<br> Load</a> the default auth exampl e.<br> Logout</a> and delete your authe ntication information.<br> <?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.
---------------------------------------- Content-Type: text/html; name="unnamed" Content-Transfer-Encoding: 7bit Content-Description: ---------------------------------------- -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (2)
-
maurizio@adriatico.prisma.rm.cnr.it
-
snieto@sc.sas.cica.es