Session. save_path bug in PHP4.0.0 (reproduced ). Author: limodou: I have reported a bug in version 4.0.0, which is limited to windows. That is: in version 4.0.0, if session. save_path uses an absolute directory, add the author: limodou
Here we will report a bug I found in version 4.0.0, which is limited to the windows version. That is: in version 4.0.0,
Session. save_path if an absolute directory is used, that is, if the drive letter is added, the drive letter does not work. For example, session. save_path is set
C: emp. the c: emp directory exists. However, when the php program file is on another disk, such as the F disk, c: does not work. Processing
Find the emp directory on drive F during session. If no emp directory exists on disk F, the following error is reported:
Warning: open (emp/sess_0beef27320944002381aa93c9ec0968d, O_RDWR) failed: m (2)
In f: esta. php3 on line 2
Warning: open (emp/sess_0beef27320944002381aa93c9ec0968d, O_RDWR) failed: m (2)
In Unknown on line 0
Warning: Failed to write session data. Please check that the current setting
Session. save_path is correct (c: emp) in Unknown on line 0
If you create a temp directory on drive F, the error disappears. I checked the source program and did not find it. Discover Me
Is the source code of version 4.0.1pl2. So I upgraded php to version 4.0.1pl2 and ran it again. The error is missing. It seems that version 4.0.1pl2 is correct.
This error is returned.
We recommend that you install version 4.0.1pl2.
When session. save_path is set at the same time, the directory separator can be '/' or.
Here, I will report a bug of Version 4.0.0 that I found, which is limited to the windows version. That is: in version 4.0.0, if session. save_path uses an absolute directory, that is, add...