Re: [PHP] Double slash

2002-03-13 Thread jtjohnston
>looks good to me - only screwy thing I can think of is the backslash thing - >REALLY annoying - and confusing sometimes Yeah, no kidding. Thanks Martin! What about if I try copying $to_path onto a Network server? Do you see any problems with the code and $to_path? (Not that I have a serve

RE: [PHP] Double slash

2002-03-13 Thread Martin Towell
looks good to me - only screwy thing I can think of is the backslash thing - REALLY annoying - and confusing sometimes Martin -Original Message- From: jtjohnston [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 14, 2002 4:44 PM To: [EMAIL PROTECTED] Subject: [PHP] Double slash On

[PHP] Double slash

2002-03-13 Thread jtjohnston
On a windows server, echo getcwd().""; gives me: C:\WINDOWS\Bureau\php\microweb How do I double slash it? Is this ok: $test_path = getcwd()."\\test1\\"; echo $test_path; It seems ok, when I echo it? Any screwy Windows thing I need to know about? John -- PHP General Mailing List (http://w