php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11146 string processing
Submitted: 2001-05-27 19:49 UTC Modified: 2001-06-18 20:29 UTC
From: m_alex_s at chat dot ru Assigned:
Status: Not a bug Package: Strings related
PHP Version: 4.0.4pl1 OS: win2000
Private report: No CVE-ID: None
 [2001-05-27 19:49 UTC] m_alex_s at chat dot ru
IIS+php4isapi.dll

$userfile=$str_replace("\\\\","\\",$userfile);
doesnt work
on Slackware linux 7.1 + apache +PHP4 & win98+apache+php4 it works

i rtied 2 use split function and then join the parts separating with "\\" but also had c:\\file in filepaths

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-29 06:46 UTC] sniper@php.net
How doesn't it work? And I guess that $str_replace.. (the $ in front of it) is a typo.

--Jani

 [2001-06-18 20:29 UTC] sniper@php.net
no feedback.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC