Click to See Complete Forum and Search --> : PHPLIB & PHP4 on Windows


Anon
11-22-2000, 11:09 AM
Hi there,

I am using the latest PHP4 with PHPLIB 7.2 together with Apache 1.3.12 under Windows 95. When I try to use any PHPLIB session stuff (like PHPLIB's supplied test.php3), I get this error message:

Warning: Undefined variable: sid in session.inc on line 396.

And then it balks about header stuff:

Warning: Cannot add header information - headers already sent by (output started at session.inc:396) in session.inc on line120


Does PHPLIB even work with PHP4?

Greetz,

RS

Anon
11-22-2000, 12:24 PM
phplib works great with php4, with one exception found in the template class. Keep trying...you should get it to work without too much dificulty

Anon
11-22-2000, 11:34 PM
Dear sir
can you help me , I don't know how to put my PHP file in the sever , that is my uni sever, does it need to install the PHP software, also what different between .php, and phtml, which one i need to use
thank you

best regard
allen

Anon
11-24-2000, 07:14 AM
which exception in the template class???... works fine with me.. phplib&php

Anon
11-25-2000, 03:46 AM
Replacing unused {}'s in a page, the code is similar to "{$var}" which translates to '{varvalue}' in php3 and 'varvalue' in php4.

Anon
03-23-2001, 12:51 PM
Sorry for the confusion, but does this mean that phplib templates can not be used with php4?

toma42
03-23-2001, 01:11 PM
No, it will work, you just have to modify the phplib code a little.

Anon
03-23-2001, 01:26 PM
Any pointers? I'm kind of new at this.

Anon
03-23-2001, 01:32 PM
I answered my own question:
http://www.phpbuilder.com/mail/phplib-list/2000121/0095.php