Jonathan Angliss ([EMAIL PROTECTED]) had this to say on 01/01/03 at 16:34: 
> >> If you are running with register_globals set to On, you can ignore the
> >> first problem, but certainly cannot ignore the second.  If you are
> >> running with register_globals set to Off, after session_start(); put
> >> the following line:
> >>
> >>   $username = $_SESSION('username');
> >>
> >> And try again.
> >
> > Register_Globals was set to On. I set it to Off.
> 
> You didn't need to change it, it should work just fine with it On.

I thought the recomended advice these days is to turn it off, for security
reasons. I'll set it back to Off.

> >    $username = $_SESSION('username');
> >
> > I now get this:
> >
> > Fatal error:  Call to undefined function:  array() in
> > /usr/share/squirrelmail/plugins/
> > abook_import_export/address_book_import.php
> > on line 20
> 
> Erm... curious... what version of PHP are you really using?  array() is a
> type not a function.

PHP = 4.1.2. SM =1.2.10.

-- 
PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
Member, LEAF Project <http://leaf.sourceforge.net>    AIM: MikeLeone
Public Key - <http://www.mike-leone.com/~turgon/turgon-public-key.asc>
Registered Linux user# 201348

Attachment: msg01620/pgp00000.pgp
Description: PGP signature

Reply via email to