RE: [PHP] Double slash
| From: | Martin Towell | Date: | Thu, 14 Mar 2002 05:46:40 +0000 |
| Subject: | RE: [PHP] Double slash | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88439@lists.php.net to get a copy of this message | ||
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:taylorjo@collegesherbrooke.qc.ca]
Sent: Thursday, March 14, 2002 4:44 PM
To: php-general@lists.php.net
Subject: [PHP] Double slash
On a windows server,
echo getcwd()."<br>";
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://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php