Hello Roland,
On Friday, November 08, 2002, Roland Fritz wrote...

>> Oh I don't want to go around pushing our requirements up to 4.1.0
>> or higher, lets see if we can find another solution. Can you change
>> your sqsession_register and sqsession_unregister code in
>> src/global.php to the following:
>>......

> Sorry but for php 4.0.4p11 (Suse 7.3) this showed for 1.2.9 no
> success. I'll try 1.2.10csv tonight or tomorrow... Or is this just
> for me? Anyone else using Suse 7.3 having this problem?

  I actually made a mistake on that, the code read:

  function sqsession_unregister ($name) {
    if ( !check_php_version(4,1) && empty($rg)) {

  But should have read:

  function sqsession_unregister ($name) {
    if ( !check_php_version(4,1)) {
  
  But I shouldn't think that this is causing any issues to you.  Are
  you using any particular locales?  Just as a silly test, in
  src/global.php can you put in the function sqsession_register, I
  want to see which code is being run:

function sqsession_register ($var, $name) {
    $rg = ini_get('register_globals');
    echo 'My Version: ' . $rg;
    
    if ( !check_php_version(4,1)) {
        global $HTTP_SESSION_VARS;
        $HTTP_SESSION_VARS["$name"] = $var;
        session_register("$name" , $var);
        echo '<br>I ran the 4.0.x code';
    }
    else {
       $_SESSION["$name"] = $var;
       echo '<br>I ran the 4.1.x code';
    }
}  


  Save it, and attempt a login.  Chances are, you'll get a whole load
  of messages about not being able to redirect, but somewhere on the
  page you *should* see it say:

  My Version: <your version number>
  I ran the 4.* code

  The second line dependent on which code was execute.  If you could
  give that a try and past those two lines, I'd be *very very*
  grateful :)
  
-- 
Jonathan Angliss
([EMAIL PROTECTED])



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to