php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28989 save_session_path
Submitted: 2004-07-02 01:08 UTC Modified: 2004-07-02 11:19 UTC
From: jan dot piet dot willems at pandora dot be Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.7 OS: windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jan dot piet dot willems at pandora dot be
New email:
PHP Version: OS:

 

 [2004-07-02 01:08 UTC] jan dot piet dot willems at pandora dot be
Description:
------------
used code:
session_save_path("C:\windows\temp");
generates an error

replaced by:
session_save_path("C:\windows\Temp");
works fine as long as no "t" right behind the \ is used.

Reproduce code:
---------------
Warning: session_start(): open(C:\windows emp\sess_242aa938bd6bc11c26420d8ae71102be, O_RDWR) failed: Invalid argument (22) in C:\pwIntraNet\www\tribuun\tests\login_page.php on line 6


Actual result:
--------------
session_save_path("C:\windows\Temp");
= ok

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-02 11:19 UTC] mgf@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

\"\\t\" in a double-quoted string represents a tab character.  Either escape the backslash (\"C:\\windows\\\\temp\") or use single quotes (\'C:\\windows\\temp\')
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 19 23:00:03 2025 UTC