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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 07:01:32 2024 UTC