#39636 [NEW]: PHP 5.2.0 crashes Apache 2.2.3

Ask a Question related to PHP Bugs, Design and Development.

  1. #1

    Default #39636 [NEW]: PHP 5.2.0 crashes Apache 2.2.3

    From: dj02 dot net at nbl dot fi
    Operating system: Windows XP PRO SP2 (5.1.2600)
    PHP version: 5.2.0
    PHP Bug Type: Reproducible crash
    Bug description: PHP 5.2.0 crashes Apache 2.2.3

    Description:
    ------------
    PHP 5.2.0 crashes Apache 2.2.3 after long Online period.

    Reproduce code:
    ---------------
    [url]http://www.dj02net.com/crashreports/[/url]

    Expected result:
    ----------------
    [url]http://www.dj02net.com/crashreports/[/url]


    --
    Edit bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    --
    Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=39636&r=trysnapshot44[/url]
    Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=39636&r=trysnapshot52[/url]
    Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=39636&r=trysnapshot60[/url]
    Fixed in CVS: [url]http://bugs.php.net/fix.php?id=39636&r=fixedcvs[/url]
    Fixed in release: [url]http://bugs.php.net/fix.php?id=39636&r=alreadyfixed[/url]
    Need backtrace: [url]http://bugs.php.net/fix.php?id=39636&r=needtrace[/url]
    Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=39636&r=needscript[/url]
    Try newer version: [url]http://bugs.php.net/fix.php?id=39636&r=oldversion[/url]
    Not developer issue: [url]http://bugs.php.net/fix.php?id=39636&r=support[/url]
    Expected behavior: [url]http://bugs.php.net/fix.php?id=39636&r=notwrong[/url]
    Not enough info: [url]http://bugs.php.net/fix.php?id=39636&r=notenoughinfo[/url]
    Submitted twice: [url]http://bugs.php.net/fix.php?id=39636&r=submittedtwice[/url]
    register_globals: [url]http://bugs.php.net/fix.php?id=39636&r=globals[/url]
    PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=39636&r=php3[/url]
    Daylight Savings: [url]http://bugs.php.net/fix.php?id=39636&r=dst[/url]
    IIS Stability: [url]http://bugs.php.net/fix.php?id=39636&r=isapi[/url]
    Install GNU Sed: [url]http://bugs.php.net/fix.php?id=39636&r=gnused[/url]
    Floating point limitations: [url]http://bugs.php.net/fix.php?id=39636&r=float[/url]
    No Zend Extensions: [url]http://bugs.php.net/fix.php?id=39636&r=nozend[/url]
    MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=39636&r=mysqlcfg[/url]
    dj02 dot net at nbl dot fi Guest

  2. Similar Questions and Discussions

    1. #39005 [NEW]: Apache/PHP crashes
      From: php at edwardk dot info Operating system: Windows 2003 PHP version: 4CVS-2006-09-30 (snap) PHP Bug Type: Apache related...
    2. #40315 [NEW]: Apache crashes with PHP
      From: cpf at airenet dot com Operating system: Windows XP PHP version: 5.2.0 PHP Bug Type: Apache2 related Bug description: ...
    3. #39476 [Opn]: Apache 2.2.3/PHP 5.2.0/JpGraph 2.1.3 crashes Apache
      ID: 39476 User updated by: digdug3 at zonnet dot nl -Summary: Apache 2.2.3/PHP 5.2.0/JpGrahp 2.1.3 crashed apache Reported...
    4. #24964 [Bgs]: Apache crashes!, for no reson
      ID: 24964 User updated by: jorge at jorge dot be -Reported By: Jorge at jorge dot be +Reported By: jorge at jorge dot be...
    5. #24964 [Opn->Bgs]: Apache crashes!, for no reson
      ID: 24964 Updated by: sniper@php.net Reported By: Jorge at jorge dot be -Status: Open +Status: Bogus...
  3. #2

    Default #39636 [Opn->Fbk]: PHP 5.2.0 crashes Apache 2.2.3

    ID: 39636
    Updated by: [email]tony2001@php.net[/email]
    Reported By: dj02 dot net at nbl dot fi
    -Status: Open
    +Status: Feedback
    Bug Type: Reproducible crash
    Operating System: Windows XP PRO SP2 (5.1.2600)
    PHP Version: 5.2.0
    New Comment:

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]




    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-26 13:09:12] dj02 dot net at nbl dot fi

    Description:
    ------------
    PHP 5.2.0 crashes Apache 2.2.3 after long Online period.

    Reproduce code:
    ---------------
    [url]http://www.dj02net.com/crashreports/[/url]

    Expected result:
    ----------------
    [url]http://www.dj02net.com/crashreports/[/url]



    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    tony2001@php.net Guest

  4. #3

    Default #39636 [Fbk->Opn]: PHP 5.2.0 crashes Apache 2.2.3

    ID: 39636
    User updated by: dj02 dot net at nbl dot fi
    Reported By: dj02 dot net at nbl dot fi
    -Status: Feedback
    +Status: Open
    Bug Type: Reproducible crash
    Operating System: Windows XP PRO SP2 (5.1.2600)
    PHP Version: 5.2.0
    New Comment:

    Didn't help.

    Build: Nov 29 2006 12:17:35

    Changed server to run PHP a CGI. Hope it doesn't crash anymore.

    PHP crashes on the following code (in PHP 5.1 it didn't):

    // -------------------------------------------- Kirjautumiseen
    liittyvät ----------------------------------------

    if (in_array("logout",$_operation)) // LogOut
    {
    timed_delete($bandb, $div, 4);
    lock($db);
    db_delete_col($db, $div, 3, 3); // poistetaan viestit roskakorista
    unlock($db);
    lock($sesdb);
    db_delete_col($sesdb, $div, $_SESSION['ssid'], 1); // poistetaan
    vanha sessiovarmistustunniste
    unlock($sesdb);
    lock($userfile);
    $value = db_modify_line($userfile, $div, $_SESSION['name'], 0, 15,
    time()); // asetetaan viimeisin käyntiaika
    unlock($userfile);

    setcookie(session_name() ,"", time()-100, "/"); // poistetaan sessio
    unset($_SESSION);

    header("Location: " . $server_php_self .
    "?loggedout=true$get_more");
    exit;
    }


    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-27 09:52:17] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]



    ------------------------------------------------------------------------

    [2006-11-26 13:09:12] dj02 dot net at nbl dot fi

    Description:
    ------------
    PHP 5.2.0 crashes Apache 2.2.3 after long Online period.

    Reproduce code:
    ---------------
    [url]http://www.dj02net.com/crashreports/[/url]

    Expected result:
    ----------------
    [url]http://www.dj02net.com/crashreports/[/url]



    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    dj02 dot net at nbl dot fi Guest

  5. #4

    Default #39636 [Opn]: PHP 5.2.1-dev crashes Apache 2.2.3

    ID: 39636
    User updated by: dj02 dot net at nbl dot fi
    -Summary: PHP 5.2.0 crashes Apache 2.2.3
    Reported By: dj02 dot net at nbl dot fi
    Status: Open
    Bug Type: Reproducible crash
    Operating System: Windows XP PRO SP2 (5.1.2600)
    -PHP Version: 5.2.0
    +PHP Version: 5.2.1-dev (Nov 29 2006 12:17:35)
    New Comment:

    -


    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-29 15:44:15] dj02 dot net at nbl dot fi

    Didn't help.

    Build: Nov 29 2006 12:17:35

    Changed server to run PHP a CGI. Hope it doesn't crash anymore.

    PHP crashes on the following code (in PHP 5.1 it didn't):

    // -------------------------------------------- Kirjautumiseen
    liittyvät ----------------------------------------

    if (in_array("logout",$_operation)) // LogOut
    {
    timed_delete($bandb, $div, 4);
    lock($db);
    db_delete_col($db, $div, 3, 3); // poistetaan viestit roskakorista
    unlock($db);
    lock($sesdb);
    db_delete_col($sesdb, $div, $_SESSION['ssid'], 1); // poistetaan
    vanha sessiovarmistustunniste
    unlock($sesdb);
    lock($userfile);
    $value = db_modify_line($userfile, $div, $_SESSION['name'], 0, 15,
    time()); // asetetaan viimeisin käyntiaika
    unlock($userfile);

    setcookie(session_name() ,"", time()-100, "/"); // poistetaan sessio
    unset($_SESSION);

    header("Location: " . $server_php_self .
    "?loggedout=true$get_more");
    exit;
    }

    ------------------------------------------------------------------------

    [2006-11-27 09:52:17] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]



    ------------------------------------------------------------------------

    [2006-11-26 13:09:12] dj02 dot net at nbl dot fi

    Description:
    ------------
    PHP 5.2.0 crashes Apache 2.2.3 after long Online period.

    Reproduce code:
    ---------------
    [url]http://www.dj02net.com/crashreports/[/url]

    Expected result:
    ----------------
    [url]http://www.dj02net.com/crashreports/[/url]



    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    dj02 dot net at nbl dot fi Guest

  6. #5

    Default #39636 [Opn->Fbk]: PHP 5.2.1-dev crashes Apache 2.2.3

    ID: 39636
    Updated by: [email]tony2001@php.net[/email]
    Reported By: dj02 dot net at nbl dot fi
    -Status: Open
    +Status: Feedback
    Bug Type: Reproducible crash
    Operating System: Windows XP PRO SP2 (5.1.2600)
    PHP Version: 5.2.1-dev (Nov 29 2006 12:17:35)
    New Comment:

    Thank you for this bug report. To properly diagnose the problem, we
    need a short but complete example script to be able to reproduce
    this bug ourselves.

    A proper reproducing script starts with <?php and ends with ?>,
    is max. 10-20 lines long and does not require any external
    resources such as databases, etc. If the script requires a
    database to demonstrate the issue, please make sure it creates
    all necessary tables, stored procedures etc.

    Please avoid embedding huge scripts into the report.




    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-29 15:47:19] dj02 dot net at nbl dot fi

    -

    ------------------------------------------------------------------------

    [2006-11-29 15:44:15] dj02 dot net at nbl dot fi

    Didn't help.

    Build: Nov 29 2006 12:17:35

    Changed server to run PHP a CGI. Hope it doesn't crash anymore.

    PHP crashes on the following code (in PHP 5.1 it didn't):

    // -------------------------------------------- Kirjautumiseen
    liittyvät ----------------------------------------

    if (in_array("logout",$_operation)) // LogOut
    {
    timed_delete($bandb, $div, 4);
    lock($db);
    db_delete_col($db, $div, 3, 3); // poistetaan viestit roskakorista
    unlock($db);
    lock($sesdb);
    db_delete_col($sesdb, $div, $_SESSION['ssid'], 1); // poistetaan
    vanha sessiovarmistustunniste
    unlock($sesdb);
    lock($userfile);
    $value = db_modify_line($userfile, $div, $_SESSION['name'], 0, 15,
    time()); // asetetaan viimeisin käyntiaika
    unlock($userfile);

    setcookie(session_name() ,"", time()-100, "/"); // poistetaan sessio
    unset($_SESSION);

    header("Location: " . $server_php_self .
    "?loggedout=true$get_more");
    exit;
    }

    ------------------------------------------------------------------------

    [2006-11-27 09:52:17] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]



    ------------------------------------------------------------------------

    [2006-11-26 13:09:12] dj02 dot net at nbl dot fi

    Description:
    ------------
    PHP 5.2.0 crashes Apache 2.2.3 after long Online period.

    Reproduce code:
    ---------------
    [url]http://www.dj02net.com/crashreports/[/url]

    Expected result:
    ----------------
    [url]http://www.dj02net.com/crashreports/[/url]



    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    tony2001@php.net Guest

  7. #6

    Default #39636 [Fbk->Opn]: PHP 5.2.1-dev crashes Apache 2.2.3

    ID: 39636
    User updated by: dj02 dot net at nbl dot fi
    Reported By: dj02 dot net at nbl dot fi
    -Status: Feedback
    +Status: Open
    Bug Type: Reproducible crash
    Operating System: Windows XP PRO SP2 (5.1.2600)
    PHP Version: 5.2.1-dev (Nov 29 2006 12:17:35)
    New Comment:

    Only problem is that code is from guestbook. So it includes quite much
    code.

    Guestbook ZIP-Package:
    [url]http://www.zuronet.org/getfile.php?filename=vk206[/url]
    The Code i copied previously was from file called: "index.php"


    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-29 15:53:27] [email]tony2001@php.net[/email]

    Thank you for this bug report. To properly diagnose the problem, we
    need a short but complete example script to be able to reproduce
    this bug ourselves.

    A proper reproducing script starts with <?php and ends with ?>,
    is max. 10-20 lines long and does not require any external
    resources such as databases, etc. If the script requires a
    database to demonstrate the issue, please make sure it creates
    all necessary tables, stored procedures etc.

    Please avoid embedding huge scripts into the report.



    ------------------------------------------------------------------------

    [2006-11-29 15:47:19] dj02 dot net at nbl dot fi

    -

    ------------------------------------------------------------------------

    [2006-11-29 15:44:15] dj02 dot net at nbl dot fi

    Didn't help.

    Build: Nov 29 2006 12:17:35

    Changed server to run PHP a CGI. Hope it doesn't crash anymore.

    PHP crashes on the following code (in PHP 5.1 it didn't):

    // -------------------------------------------- Kirjautumiseen
    liittyvät ----------------------------------------

    if (in_array("logout",$_operation)) // LogOut
    {
    timed_delete($bandb, $div, 4);
    lock($db);
    db_delete_col($db, $div, 3, 3); // poistetaan viestit roskakorista
    unlock($db);
    lock($sesdb);
    db_delete_col($sesdb, $div, $_SESSION['ssid'], 1); // poistetaan
    vanha sessiovarmistustunniste
    unlock($sesdb);
    lock($userfile);
    $value = db_modify_line($userfile, $div, $_SESSION['name'], 0, 15,
    time()); // asetetaan viimeisin käyntiaika
    unlock($userfile);

    setcookie(session_name() ,"", time()-100, "/"); // poistetaan sessio
    unset($_SESSION);

    header("Location: " . $server_php_self .
    "?loggedout=true$get_more");
    exit;
    }

    ------------------------------------------------------------------------

    [2006-11-27 09:52:17] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]



    ------------------------------------------------------------------------

    [2006-11-26 13:09:12] dj02 dot net at nbl dot fi

    Description:
    ------------
    PHP 5.2.0 crashes Apache 2.2.3 after long Online period.

    Reproduce code:
    ---------------
    [url]http://www.dj02net.com/crashreports/[/url]

    Expected result:
    ----------------
    [url]http://www.dj02net.com/crashreports/[/url]



    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    dj02 dot net at nbl dot fi Guest

  8. #7

    Default #39636 [Opn]: PHP 5.2.1-dev crashes Apache 2.2.3

    ID: 39636
    User updated by: dj02 dot net at nbl dot fi
    Reported By: dj02 dot net at nbl dot fi
    Status: Open
    Bug Type: Reproducible crash
    Operating System: Windows XP PRO SP2 (5.1.2600)
    PHP Version: 5.2.1-dev (Nov 29 2006 12:17:35)
    New Comment:

    Mistake in URL. Here's the right one.

    Guestbook ZIP-Package:
    [url]http://www.dj02net.com/crashreports/vk206.zip[/url]
    The Code i copied previously was from file called: "index.php"


    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-29 17:09:39] dj02 dot net at nbl dot fi

    Only problem is that code is from guestbook. So it includes quite much
    code.

    Guestbook ZIP-Package:
    [url]http://www.zuronet.org/getfile.php?filename=vk206[/url]
    The Code i copied previously was from file called: "index.php"

    ------------------------------------------------------------------------

    [2006-11-29 15:53:27] [email]tony2001@php.net[/email]

    Thank you for this bug report. To properly diagnose the problem, we
    need a short but complete example script to be able to reproduce
    this bug ourselves.

    A proper reproducing script starts with <?php and ends with ?>,
    is max. 10-20 lines long and does not require any external
    resources such as databases, etc. If the script requires a
    database to demonstrate the issue, please make sure it creates
    all necessary tables, stored procedures etc.

    Please avoid embedding huge scripts into the report.



    ------------------------------------------------------------------------

    [2006-11-29 15:47:19] dj02 dot net at nbl dot fi

    -

    ------------------------------------------------------------------------

    [2006-11-29 15:44:15] dj02 dot net at nbl dot fi

    Didn't help.

    Build: Nov 29 2006 12:17:35

    Changed server to run PHP a CGI. Hope it doesn't crash anymore.

    PHP crashes on the following code (in PHP 5.1 it didn't):

    // -------------------------------------------- Kirjautumiseen
    liittyvät ----------------------------------------

    if (in_array("logout",$_operation)) // LogOut
    {
    timed_delete($bandb, $div, 4);
    lock($db);
    db_delete_col($db, $div, 3, 3); // poistetaan viestit roskakorista
    unlock($db);
    lock($sesdb);
    db_delete_col($sesdb, $div, $_SESSION['ssid'], 1); // poistetaan
    vanha sessiovarmistustunniste
    unlock($sesdb);
    lock($userfile);
    $value = db_modify_line($userfile, $div, $_SESSION['name'], 0, 15,
    time()); // asetetaan viimeisin käyntiaika
    unlock($userfile);

    setcookie(session_name() ,"", time()-100, "/"); // poistetaan sessio
    unset($_SESSION);

    header("Location: " . $server_php_self .
    "?loggedout=true$get_more");
    exit;
    }

    ------------------------------------------------------------------------

    [2006-11-27 09:52:17] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]



    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/39636[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    dj02 dot net at nbl dot fi Guest

  9. #8

    Default #39636 [Opn->Fbk]: PHP 5.2.1-dev crashes Apache 2.2.3

    ID: 39636
    Updated by: [email]tony2001@php.net[/email]
    Reported By: dj02 dot net at nbl dot fi
    -Status: Open
    +Status: Feedback
    Bug Type: Reproducible crash
    Operating System: Windows XP PRO SP2 (5.1.2600)
    PHP Version: 5.2.1-dev (Nov 29 2006 12:17:35)
    New Comment:

    Thanks, but the guestbook is a bit too much for a reproduce case.


    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-29 17:16:55] dj02 dot net at nbl dot fi

    Mistake in URL. Here's the right one.

    Guestbook ZIP-Package:
    [url]http://www.dj02net.com/crashreports/vk206.zip[/url]
    The Code i copied previously was from file called: "index.php"

    ------------------------------------------------------------------------

    [2006-11-29 17:09:39] dj02 dot net at nbl dot fi

    Only problem is that code is from guestbook. So it includes quite much
    code.

    Guestbook ZIP-Package:
    [url]http://www.zuronet.org/getfile.php?filename=vk206[/url]
    The Code i copied previously was from file called: "index.php"

    ------------------------------------------------------------------------

    [2006-11-29 15:53:27] [email]tony2001@php.net[/email]

    Thank you for this bug report. To properly diagnose the problem, we
    need a short but complete example script to be able to reproduce
    this bug ourselves.

    A proper reproducing script starts with <?php and ends with ?>,
    is max. 10-20 lines long and does not require any external
    resources such as databases, etc. If the script requires a
    database to demonstrate the issue, please make sure it creates
    all necessary tables, stored procedures etc.

    Please avoid embedding huge scripts into the report.



    ------------------------------------------------------------------------

    [2006-11-29 15:47:19] dj02 dot net at nbl dot fi

    -

    ------------------------------------------------------------------------

    [2006-11-29 15:44:15] dj02 dot net at nbl dot fi

    Didn't help.

    Build: Nov 29 2006 12:17:35

    Changed server to run PHP a CGI. Hope it doesn't crash anymore.

    PHP crashes on the following code (in PHP 5.1 it didn't):

    // -------------------------------------------- Kirjautumiseen
    liittyvät ----------------------------------------

    if (in_array("logout",$_operation)) // LogOut
    {
    timed_delete($bandb, $div, 4);
    lock($db);
    db_delete_col($db, $div, 3, 3); // poistetaan viestit roskakorista
    unlock($db);
    lock($sesdb);
    db_delete_col($sesdb, $div, $_SESSION['ssid'], 1); // poistetaan
    vanha sessiovarmistustunniste
    unlock($sesdb);
    lock($userfile);
    $value = db_modify_line($userfile, $div, $_SESSION['name'], 0, 15,
    time()); // asetetaan viimeisin käyntiaika
    unlock($userfile);

    setcookie(session_name() ,"", time()-100, "/"); // poistetaan sessio
    unset($_SESSION);

    header("Location: " . $server_php_self .
    "?loggedout=true$get_more");
    exit;
    }

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/39636[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    tony2001@php.net Guest

  10. #9

    Default #39636 [Fbk->Opn]: PHP 5.2.1-dev crashes Apache 2.2.3

    ID: 39636
    User updated by: dj02 dot net at nbl dot fi
    Reported By: dj02 dot net at nbl dot fi
    -Status: Feedback
    +Status: Open
    Bug Type: Reproducible crash
    Operating System: Windows XP PRO SP2 (5.1.2600)
    PHP Version: 5.2.1-dev (Nov 29 2006 12:17:35)
    New Comment:

    Hi,

    What would be better category?
    I would be really thanksful if you could check the code.


    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-29 17:28:20] [email]tony2001@php.net[/email]

    Thanks, but the guestbook is a bit too much for a reproduce case.

    ------------------------------------------------------------------------

    [2006-11-29 17:16:55] dj02 dot net at nbl dot fi

    Mistake in URL. Here's the right one.

    Guestbook ZIP-Package:
    [url]http://www.dj02net.com/crashreports/vk206.zip[/url]
    The Code i copied previously was from file called: "index.php"

    ------------------------------------------------------------------------

    [2006-11-29 17:09:39] dj02 dot net at nbl dot fi

    Only problem is that code is from guestbook. So it includes quite much
    code.

    Guestbook ZIP-Package:
    [url]http://www.zuronet.org/getfile.php?filename=vk206[/url]
    The Code i copied previously was from file called: "index.php"

    ------------------------------------------------------------------------

    [2006-11-29 15:53:27] [email]tony2001@php.net[/email]

    Thank you for this bug report. To properly diagnose the problem, we
    need a short but complete example script to be able to reproduce
    this bug ourselves.

    A proper reproducing script starts with <?php and ends with ?>,
    is max. 10-20 lines long and does not require any external
    resources such as databases, etc. If the script requires a
    database to demonstrate the issue, please make sure it creates
    all necessary tables, stored procedures etc.

    Please avoid embedding huge scripts into the report.



    ------------------------------------------------------------------------

    [2006-11-29 15:47:19] dj02 dot net at nbl dot fi

    -

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/39636[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    dj02 dot net at nbl dot fi Guest

  11. #10

    Default #39636 [Opn->Fbk]: PHP 5.2.1-dev crashes Apache 2.2.3

    ID: 39636
    Updated by: [email]tony2001@php.net[/email]
    Reported By: dj02 dot net at nbl dot fi
    -Status: Open
    +Status: Feedback
    Bug Type: Reproducible crash
    Operating System: Windows XP PRO SP2 (5.1.2600)
    PHP Version: 5.2.1-dev (Nov 29 2006 12:17:35)
    New Comment:

    I would be thankful too if you provide a short (20-30 lines max) but
    complete reproduce code.


    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-29 17:46:46] dj02 dot net at nbl dot fi

    Hi,

    What would be better category?
    I would be really thanksful if you could check the code.

    ------------------------------------------------------------------------

    [2006-11-29 17:28:20] [email]tony2001@php.net[/email]

    Thanks, but the guestbook is a bit too much for a reproduce case.

    ------------------------------------------------------------------------

    [2006-11-29 17:16:55] dj02 dot net at nbl dot fi

    Mistake in URL. Here's the right one.

    Guestbook ZIP-Package:
    [url]http://www.dj02net.com/crashreports/vk206.zip[/url]
    The Code i copied previously was from file called: "index.php"

    ------------------------------------------------------------------------

    [2006-11-29 17:09:39] dj02 dot net at nbl dot fi

    Only problem is that code is from guestbook. So it includes quite much
    code.

    Guestbook ZIP-Package:
    [url]http://www.zuronet.org/getfile.php?filename=vk206[/url]
    The Code i copied previously was from file called: "index.php"

    ------------------------------------------------------------------------

    [2006-11-29 15:53:27] [email]tony2001@php.net[/email]

    Thank you for this bug report. To properly diagnose the problem, we
    need a short but complete example script to be able to reproduce
    this bug ourselves.

    A proper reproducing script starts with <?php and ends with ?>,
    is max. 10-20 lines long and does not require any external
    resources such as databases, etc. If the script requires a
    database to demonstrate the issue, please make sure it creates
    all necessary tables, stored procedures etc.

    Please avoid embedding huge scripts into the report.



    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/39636[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    tony2001@php.net Guest

  12. #11

    Default #39636 [Fbk->Opn]: PHP 5.2.1-dev crashes Apache 2.2.3

    ID: 39636
    User updated by: dj02 dot net at nbl dot fi
    Reported By: dj02 dot net at nbl dot fi
    -Status: Feedback
    +Status: Open
    Bug Type: Reproducible crash
    Operating System: Windows XP PRO SP2 (5.1.2600)
    PHP Version: 5.2.1-dev (Nov 29 2006 12:17:35)
    New Comment:

    I'll tray now (i'll tell you three files).

    Config.php (1/3):
    $path = "C:/www/fncustomers/heebu/guestbook/";
    $http = "http://www.heebu.com/guestbook/";
    $get_more = "";
    $server_php_self = $_SERVER['PHP_SELF'];
    $server_php_self = $_SERVER['PHP_SELF'];
    if(empty($path))
    { $path = getcwd().'/'; /* jos polkua ei ole asetettu, yritetään hakea
    se. */
    if(!file_exists($path."dbfunctions.php")) die($path.'<br>Polku on
    väärin, tai tärkeitä tiedostoja puuttuu!'); }

    if(empty($http))
    { array_pop($http =
    explode("/","http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']));
    $http = implode("/",$http)."/"; }


    $version = "2x06"; /* Versiotieto */
    $div = "\t"; /* erottelija 1 */
    $div2 = "|"; /* erottelija 2 */

    $updateaddr = "http://koti.mbnet.fi/turazuro/updates/zurogb.txt";
    $ipcheckaddr =
    "http://www.ripe.net/perl/whois?form_type=simple&full_query_string=&do_searc h=Search&searchtext=";

    $userfile = $path . "data/users.txt"; /*
    Käyttäjätietokanta */
    $cfgfile = $path . "data/config.txt"; /* Asetustietokanta */
    $sesdb = $path . "data/sesdb.txt"; /*
    Sessiojärjestelmän aputiedosto */
    $bandb = $path . "data/banned.txt"; /* Bannaustietokanta
    */
    $db = $path . "data/db.txt"; /* Viestitietokanta */
    $oldmsgsfile = $path . "data/archive.txt"; /* Vanhojen viestien
    tietokanta */
    $badwordfile = $path . "data/badwords.txt"; /*
    Kirosanasuodatintiedosto */
    $floodfile = $path . "data/flood.txt"; /*
    Floodaustietokanta */

    $smilefolder = $http."smilies"; /* Hymiökansio */
    $skinpath = "skins/"; /* Nahkakansio */
    $langpath = "lang/"; /* Kielikansio */
    ?>


    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-29 18:02:48] [email]tony2001@php.net[/email]

    I would be thankful too if you provide a short (20-30 lines max) but
    complete reproduce code.

    ------------------------------------------------------------------------

    [2006-11-29 17:46:46] dj02 dot net at nbl dot fi

    Hi,

    What would be better category?
    I would be really thanksful if you could check the code.

    ------------------------------------------------------------------------

    [2006-11-29 17:28:20] [email]tony2001@php.net[/email]

    Thanks, but the guestbook is a bit too much for a reproduce case.

    ------------------------------------------------------------------------

    [2006-11-29 17:16:55] dj02 dot net at nbl dot fi

    Mistake in URL. Here's the right one.

    Guestbook ZIP-Package:
    [url]http://www.dj02net.com/crashreports/vk206.zip[/url]
    The Code i copied previously was from file called: "index.php"

    ------------------------------------------------------------------------

    [2006-11-29 17:09:39] dj02 dot net at nbl dot fi

    Only problem is that code is from guestbook. So it includes quite much
    code.

    Guestbook ZIP-Package:
    [url]http://www.zuronet.org/getfile.php?filename=vk206[/url]
    The Code i copied previously was from file called: "index.php"

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/39636[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    dj02 dot net at nbl dot fi Guest

  13. #12

    Default #39636 [Opn]: PHP 5.2.1-dev crashes Apache 2.2.3

    ID: 39636
    User updated by: dj02 dot net at nbl dot fi
    Reported By: dj02 dot net at nbl dot fi
    Status: Open
    Bug Type: Reproducible crash
    Operating System: Windows XP PRO SP2 (5.1.2600)
    PHP Version: 5.2.1-dev (Nov 29 2006 12:17:35)
    New Comment:

    Index.php (2/3):
    // -------------------------------------------- Kirjautumiseen
    liittyvät ----------------------------------------

    if (in_array("logout",$_operation)) // LogOut
    {
    timed_delete($bandb, $div, 4);
    lock($db);
    db_delete_col($db, $div, 3, 3); // poistetaan viestit roskakorista
    unlock($db);
    lock($sesdb);
    db_delete_col($sesdb, $div, $_SESSION['ssid'], 1); // poistetaan
    vanha sessiovarmistustunniste
    unlock($sesdb);
    lock($userfile);
    $value = db_modify_line($userfile, $div, $_SESSION['name'], 0, 15,
    time()); // asetetaan viimeisin käyntiaika
    unlock($userfile);

    setcookie(session_name() ,"", time()-100, "/"); // poistetaan sessio
    unset($_SESSION);

    header("Location: " . $server_php_self .
    "?loggedout=true$get_more");
    exit;
    }


    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-29 19:02:40] dj02 dot net at nbl dot fi

    I'll tray now (i'll tell you three files).

    Config.php (1/3):
    $path = "C:/www/fncustomers/heebu/guestbook/";
    $http = "http://www.heebu.com/guestbook/";
    $get_more = "";
    $server_php_self = $_SERVER['PHP_SELF'];
    $server_php_self = $_SERVER['PHP_SELF'];
    if(empty($path))
    { $path = getcwd().'/'; /* jos polkua ei ole asetettu, yritetään hakea
    se. */
    if(!file_exists($path."dbfunctions.php")) die($path.'<br>Polku on
    väärin, tai tärkeitä tiedostoja puuttuu!'); }

    if(empty($http))
    { array_pop($http =
    explode("/","http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']));
    $http = implode("/",$http)."/"; }


    $version = "2x06"; /* Versiotieto */
    $div = "\t"; /* erottelija 1 */
    $div2 = "|"; /* erottelija 2 */

    $updateaddr = "http://koti.mbnet.fi/turazuro/updates/zurogb.txt";
    $ipcheckaddr =
    "http://www.ripe.net/perl/whois?form_type=simple&full_query_string=&do_searc h=Search&searchtext=";

    $userfile = $path . "data/users.txt"; /*
    Käyttäjätietokanta */
    $cfgfile = $path . "data/config.txt"; /* Asetustietokanta */
    $sesdb = $path . "data/sesdb.txt"; /*
    Sessiojärjestelmän aputiedosto */
    $bandb = $path . "data/banned.txt"; /* Bannaustietokanta
    */
    $db = $path . "data/db.txt"; /* Viestitietokanta */
    $oldmsgsfile = $path . "data/archive.txt"; /* Vanhojen viestien
    tietokanta */
    $badwordfile = $path . "data/badwords.txt"; /*
    Kirosanasuodatintiedosto */
    $floodfile = $path . "data/flood.txt"; /*
    Floodaustietokanta */

    $smilefolder = $http."smilies"; /* Hymiökansio */
    $skinpath = "skins/"; /* Nahkakansio */
    $langpath = "lang/"; /* Kielikansio */
    ?>

    ------------------------------------------------------------------------

    [2006-11-29 18:02:48] [email]tony2001@php.net[/email]

    I would be thankful too if you provide a short (20-30 lines max) but
    complete reproduce code.

    ------------------------------------------------------------------------

    [2006-11-29 17:46:46] dj02 dot net at nbl dot fi

    Hi,

    What would be better category?
    I would be really thanksful if you could check the code.

    ------------------------------------------------------------------------

    [2006-11-29 17:28:20] [email]tony2001@php.net[/email]

    Thanks, but the guestbook is a bit too much for a reproduce case.

    ------------------------------------------------------------------------

    [2006-11-29 17:16:55] dj02 dot net at nbl dot fi

    Mistake in URL. Here's the right one.

    Guestbook ZIP-Package:
    [url]http://www.dj02net.com/crashreports/vk206.zip[/url]
    The Code i copied previously was from file called: "index.php"

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/39636[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    dj02 dot net at nbl dot fi Guest

  14. #13

    Default #39636 [Opn]: PHP 5.2.1-dev crashes Apache 2.2.3

    ID: 39636
    User updated by: dj02 dot net at nbl dot fi
    Reported By: dj02 dot net at nbl dot fi
    Status: Open
    Bug Type: Reproducible crash
    Operating System: Windows XP PRO SP2 (5.1.2600)
    PHP Version: 5.2.1-dev (Nov 29 2006 12:17:35)
    New Comment:

    Functions.php(3/3):

    If you could check this from:
    [url]http://www.dj02net.com/crashreports/dbfunctions.php.txt[/url]


    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-29 19:04:14] dj02 dot net at nbl dot fi

    Index.php (2/3):
    // -------------------------------------------- Kirjautumiseen
    liittyvät ----------------------------------------

    if (in_array("logout",$_operation)) // LogOut
    {
    timed_delete($bandb, $div, 4);
    lock($db);
    db_delete_col($db, $div, 3, 3); // poistetaan viestit roskakorista
    unlock($db);
    lock($sesdb);
    db_delete_col($sesdb, $div, $_SESSION['ssid'], 1); // poistetaan
    vanha sessiovarmistustunniste
    unlock($sesdb);
    lock($userfile);
    $value = db_modify_line($userfile, $div, $_SESSION['name'], 0, 15,
    time()); // asetetaan viimeisin käyntiaika
    unlock($userfile);

    setcookie(session_name() ,"", time()-100, "/"); // poistetaan sessio
    unset($_SESSION);

    header("Location: " . $server_php_self .
    "?loggedout=true$get_more");
    exit;
    }

    ------------------------------------------------------------------------

    [2006-11-29 19:02:40] dj02 dot net at nbl dot fi

    I'll tray now (i'll tell you three files).

    Config.php (1/3):
    $path = "C:/www/fncustomers/heebu/guestbook/";
    $http = "http://www.heebu.com/guestbook/";
    $get_more = "";
    $server_php_self = $_SERVER['PHP_SELF'];
    $server_php_self = $_SERVER['PHP_SELF'];
    if(empty($path))
    { $path = getcwd().'/'; /* jos polkua ei ole asetettu, yritetään hakea
    se. */
    if(!file_exists($path."dbfunctions.php")) die($path.'<br>Polku on
    väärin, tai tärkeitä tiedostoja puuttuu!'); }

    if(empty($http))
    { array_pop($http =
    explode("/","http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']));
    $http = implode("/",$http)."/"; }


    $version = "2x06"; /* Versiotieto */
    $div = "\t"; /* erottelija 1 */
    $div2 = "|"; /* erottelija 2 */

    $updateaddr = "http://koti.mbnet.fi/turazuro/updates/zurogb.txt";
    $ipcheckaddr =
    "http://www.ripe.net/perl/whois?form_type=simple&full_query_string=&do_searc h=Search&searchtext=";

    $userfile = $path . "data/users.txt"; /*
    Käyttäjätietokanta */
    $cfgfile = $path . "data/config.txt"; /* Asetustietokanta */
    $sesdb = $path . "data/sesdb.txt"; /*
    Sessiojärjestelmän aputiedosto */
    $bandb = $path . "data/banned.txt"; /* Bannaustietokanta
    */
    $db = $path . "data/db.txt"; /* Viestitietokanta */
    $oldmsgsfile = $path . "data/archive.txt"; /* Vanhojen viestien
    tietokanta */
    $badwordfile = $path . "data/badwords.txt"; /*
    Kirosanasuodatintiedosto */
    $floodfile = $path . "data/flood.txt"; /*
    Floodaustietokanta */

    $smilefolder = $http."smilies"; /* Hymiökansio */
    $skinpath = "skins/"; /* Nahkakansio */
    $langpath = "lang/"; /* Kielikansio */
    ?>

    ------------------------------------------------------------------------

    [2006-11-29 18:02:48] [email]tony2001@php.net[/email]

    I would be thankful too if you provide a short (20-30 lines max) but
    complete reproduce code.

    ------------------------------------------------------------------------

    [2006-11-29 17:46:46] dj02 dot net at nbl dot fi

    Hi,

    What would be better category?
    I would be really thanksful if you could check the code.

    ------------------------------------------------------------------------

    [2006-11-29 17:28:20] [email]tony2001@php.net[/email]

    Thanks, but the guestbook is a bit too much for a reproduce case.

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/39636[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    dj02 dot net at nbl dot fi Guest

  15. #14

    Default #39636 [Opn->Fbk]: PHP 5.2.1-dev crashes Apache 2.2.3

    ID: 39636
    Updated by: [email]tony2001@php.net[/email]
    Reported By: dj02 dot net at nbl dot fi
    -Status: Open
    +Status: Feedback
    Bug Type: Reproducible crash
    Operating System: Windows XP PRO SP2 (5.1.2600)
    PHP Version: 5.2.1-dev (Nov 29 2006 12:17:35)
    New Comment:

    20-30 lines. Please.


    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-29 19:07:40] dj02 dot net at nbl dot fi

    Functions.php(3/3):

    If you could check this from:
    [url]http://www.dj02net.com/crashreports/dbfunctions.php.txt[/url]

    ------------------------------------------------------------------------

    [2006-11-29 19:04:14] dj02 dot net at nbl dot fi

    Index.php (2/3):
    // -------------------------------------------- Kirjautumiseen
    liittyvät ----------------------------------------

    if (in_array("logout",$_operation)) // LogOut
    {
    timed_delete($bandb, $div, 4);
    lock($db);
    db_delete_col($db, $div, 3, 3); // poistetaan viestit roskakorista
    unlock($db);
    lock($sesdb);
    db_delete_col($sesdb, $div, $_SESSION['ssid'], 1); // poistetaan
    vanha sessiovarmistustunniste
    unlock($sesdb);
    lock($userfile);
    $value = db_modify_line($userfile, $div, $_SESSION['name'], 0, 15,
    time()); // asetetaan viimeisin käyntiaika
    unlock($userfile);

    setcookie(session_name() ,"", time()-100, "/"); // poistetaan sessio
    unset($_SESSION);

    header("Location: " . $server_php_self .
    "?loggedout=true$get_more");
    exit;
    }

    ------------------------------------------------------------------------

    [2006-11-29 19:02:40] dj02 dot net at nbl dot fi

    I'll tray now (i'll tell you three files).

    Config.php (1/3):
    $path = "C:/www/fncustomers/heebu/guestbook/";
    $http = "http://www.heebu.com/guestbook/";
    $get_more = "";
    $server_php_self = $_SERVER['PHP_SELF'];
    $server_php_self = $_SERVER['PHP_SELF'];
    if(empty($path))
    { $path = getcwd().'/'; /* jos polkua ei ole asetettu, yritetään hakea
    se. */
    if(!file_exists($path."dbfunctions.php")) die($path.'<br>Polku on
    väärin, tai tärkeitä tiedostoja puuttuu!'); }

    if(empty($http))
    { array_pop($http =
    explode("/","http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']));
    $http = implode("/",$http)."/"; }


    $version = "2x06"; /* Versiotieto */
    $div = "\t"; /* erottelija 1 */
    $div2 = "|"; /* erottelija 2 */

    $updateaddr = "http://koti.mbnet.fi/turazuro/updates/zurogb.txt";
    $ipcheckaddr =
    "http://www.ripe.net/perl/whois?form_type=simple&full_query_string=&do_searc h=Search&searchtext=";

    $userfile = $path . "data/users.txt"; /*
    Käyttäjätietokanta */
    $cfgfile = $path . "data/config.txt"; /* Asetustietokanta */
    $sesdb = $path . "data/sesdb.txt"; /*
    Sessiojärjestelmän aputiedosto */
    $bandb = $path . "data/banned.txt"; /* Bannaustietokanta
    */
    $db = $path . "data/db.txt"; /* Viestitietokanta */
    $oldmsgsfile = $path . "data/archive.txt"; /* Vanhojen viestien
    tietokanta */
    $badwordfile = $path . "data/badwords.txt"; /*
    Kirosanasuodatintiedosto */
    $floodfile = $path . "data/flood.txt"; /*
    Floodaustietokanta */

    $smilefolder = $http."smilies"; /* Hymiökansio */
    $skinpath = "skins/"; /* Nahkakansio */
    $langpath = "lang/"; /* Kielikansio */
    ?>

    ------------------------------------------------------------------------

    [2006-11-29 18:02:48] [email]tony2001@php.net[/email]

    I would be thankful too if you provide a short (20-30 lines max) but
    complete reproduce code.

    ------------------------------------------------------------------------

    [2006-11-29 17:46:46] dj02 dot net at nbl dot fi

    Hi,

    What would be better category?
    I would be really thanksful if you could check the code.

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/39636[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    tony2001@php.net Guest

  16. #15

    Default #39636 [Fbk->Csd]: PHP 5.2.1-dev crashes Apache 2.2.3

    ID: 39636
    User updated by: dj02 dot net at nbl dot fi
    Reported By: dj02 dot net at nbl dot fi
    -Status: Feedback
    +Status: Closed
    Bug Type: Reproducible crash
    Operating System: Windows XP PRO SP2 (5.1.2600)
    PHP Version: 5.2.1-dev (Nov 29 2006 12:17:35)
    New Comment:

    Hey,

    I don't know how to tell much important code (which is used in logout)
    to 20-30 lines.

    But i'll got it work as CGI Mode, Thanks.


    Previous Comments:
    ------------------------------------------------------------------------

    [2006-11-29 20:51:29] [email]tony2001@php.net[/email]

    20-30 lines. Please.

    ------------------------------------------------------------------------

    [2006-11-29 19:07:40] dj02 dot net at nbl dot fi

    Functions.php(3/3):

    If you could check this from:
    [url]http://www.dj02net.com/crashreports/dbfunctions.php.txt[/url]

    ------------------------------------------------------------------------

    [2006-11-29 19:04:14] dj02 dot net at nbl dot fi

    Index.php (2/3):
    // -------------------------------------------- Kirjautumiseen
    liittyvät ----------------------------------------

    if (in_array("logout",$_operation)) // LogOut
    {
    timed_delete($bandb, $div, 4);
    lock($db);
    db_delete_col($db, $div, 3, 3); // poistetaan viestit roskakorista
    unlock($db);
    lock($sesdb);
    db_delete_col($sesdb, $div, $_SESSION['ssid'], 1); // poistetaan
    vanha sessiovarmistustunniste
    unlock($sesdb);
    lock($userfile);
    $value = db_modify_line($userfile, $div, $_SESSION['name'], 0, 15,
    time()); // asetetaan viimeisin käyntiaika
    unlock($userfile);

    setcookie(session_name() ,"", time()-100, "/"); // poistetaan sessio
    unset($_SESSION);

    header("Location: " . $server_php_self .
    "?loggedout=true$get_more");
    exit;
    }

    ------------------------------------------------------------------------

    [2006-11-29 19:02:40] dj02 dot net at nbl dot fi

    I'll tray now (i'll tell you three files).

    Config.php (1/3):
    $path = "C:/www/fncustomers/heebu/guestbook/";
    $http = "http://www.heebu.com/guestbook/";
    $get_more = "";
    $server_php_self = $_SERVER['PHP_SELF'];
    $server_php_self = $_SERVER['PHP_SELF'];
    if(empty($path))
    { $path = getcwd().'/'; /* jos polkua ei ole asetettu, yritetään hakea
    se. */
    if(!file_exists($path."dbfunctions.php")) die($path.'<br>Polku on
    väärin, tai tärkeitä tiedostoja puuttuu!'); }

    if(empty($http))
    { array_pop($http =
    explode("/","http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']));
    $http = implode("/",$http)."/"; }


    $version = "2x06"; /* Versiotieto */
    $div = "\t"; /* erottelija 1 */
    $div2 = "|"; /* erottelija 2 */

    $updateaddr = "http://koti.mbnet.fi/turazuro/updates/zurogb.txt";
    $ipcheckaddr =
    "http://www.ripe.net/perl/whois?form_type=simple&full_query_string=&do_searc h=Search&searchtext=";

    $userfile = $path . "data/users.txt"; /*
    Käyttäjätietokanta */
    $cfgfile = $path . "data/config.txt"; /* Asetustietokanta */
    $sesdb = $path . "data/sesdb.txt"; /*
    Sessiojärjestelmän aputiedosto */
    $bandb = $path . "data/banned.txt"; /* Bannaustietokanta
    */
    $db = $path . "data/db.txt"; /* Viestitietokanta */
    $oldmsgsfile = $path . "data/archive.txt"; /* Vanhojen viestien
    tietokanta */
    $badwordfile = $path . "data/badwords.txt"; /*
    Kirosanasuodatintiedosto */
    $floodfile = $path . "data/flood.txt"; /*
    Floodaustietokanta */

    $smilefolder = $http."smilies"; /* Hymiökansio */
    $skinpath = "skins/"; /* Nahkakansio */
    $langpath = "lang/"; /* Kielikansio */
    ?>

    ------------------------------------------------------------------------

    [2006-11-29 18:02:48] [email]tony2001@php.net[/email]

    I would be thankful too if you provide a short (20-30 lines max) but
    complete reproduce code.

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/39636[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=39636&edit=1[/url]
    dj02 dot net at nbl dot fi Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139