ID:               15843
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Duplicate
+Status:           Closed
 Bug Type:         Session related
 Operating System: Windows XP
 PHP Version:      4.1.1
 New Comment:

This bug has been fixed in CVS.




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

[2002-03-03 13:30:49] [EMAIL PROTECTED]

Hello,


I have tracked down the problem.

Setting session.save_path = "C:\windows\temp" will not fix
the problem.

You will have to create own folder under the root c:\
e.g. "c:\mytemp", using the admin rights (root)

and the set:

session.save_path = "C:\mytemp"


-Vildan

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

[2002-03-03 09:21:15] [EMAIL PROTECTED]

I am running php 4.1.1 on XP under Apache 1.3.
Every time I call session script, php.exe on server
crashes.

Error msg (in windows):
--------------------------------------------------------
php.exe has encountered a problems and needs to close.
szAppName: php.exe
szAppVer:  0.0.0.0
szModName: php4ts.dll
szModVer:  0.0.0.0
offset:    000a956c
--------------------------------------------------------
I have set the
session.save_path = "C:\windows\temp"
in the php.ini, but the problem persist.


php file content that craches php.exe
---------------------------------------------------------
<?php // creates session for user
      session_start();
      session_register("iwcuser");
      session_register("iwcpass");
      @$iwcuser = $username;
      @$iwcpass = $password; ?>
---------------------------------------------------------

Hope that the problem is within my script, and not PHP
itself, but anyhow, users running their own scripts should be able to
crash PHP.

Regards,

-Vildan

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


-- 
Edit this bug report at http://bugs.php.net/?id=15843&edit=1

Reply via email to