Re: [phplib] Testing if phplib is installed and working From: Steve Edberg (sbedberg <email protected>)
Date: 07/06/00

At 11:40 AM -0400 7/6/00, wfries wrote:
>Hello all, I am new to phplib and can not seem to get sessions to
>work on my vurtial host's server. I checked with them and they said
>that The PHPLIB version is 3.0RC4 with Dynamic Library support is
>installed.
>
> I have tried to run this via a web page but all I get is a blank page
>
><?php page_open(array("sess" => "mine"));
>
>$sess->register('count');
>$count++;
>
>echo "<p>You've been here $count times. Thanks!</p>";
>page_close();
>?>
>
>am i missing some code or something else? Is there an other way to
>test if the phplib is installed and working? The doc on this site
>seem to be written for the owner of the server for the purpose if
>installing phplib and not for the end user. Is there better doc for
>the end user as my self somewhere? Is there an arcive for this list
>that I can review?
>

Do you really mean PHP3.0rc4, not PHP4?? If so, that's way way old;
according to PHPLIB docs at

        http://phplib.netuse.de/documentation/documentation-1.html#ss1.2

you need at least 3.0.12 (current version of PHP3 is 3.0.16, I
think). I'm not surprised that it won't work. Get your provider to
upgrade or find another host.

-steve

+--- unix and cats: -----------------------------------------------------+
| Steve Edberg University of California, Davis |
| sbedberg <email protected> Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu |
+----------------------- hard to befriend, but then friends for life! ---+

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