Re: back slash issue
| From: | Luis Moreira | Date: | Mon, 22 Mar 2004 16:35:08 +0000 |
| Subject: | Re: back slash issue | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23226@lists.php.net to get a copy of this message | ||
Escape the backslash before using it
$errorCode = $TK->OpenOutputFile("D:\\public\k1\\compiledCIO\\$filename");
Luis
----- Original Message -----
From: <Ron.Herhuth@tatumpartners.com>
To: <php-windows@lists.php.net>
Sent: Monday, March 22, 2004 4:32 PM
Subject: [PHP-WIN] back slash issue
>
> I have a situation where I need to use backslashes as part of the string:
>
> $errorCode = $TK->OpenOutputFile("D:\public\k1\compiledCIO\$filename");
>
> Obviously in the above example the backslash terminates the following
> character which causes a problem. I have tried several different
> arrangements and each time something occurs that causes problems with the
> string. Any suggestions??
>
> Thanks,
> Ron
>
>
>
>
>
>