On 4/3/02 6:47 PM, Daniel Falkenberg <[EMAIL PROTECTED]> wrote:

> Well I think I have figured it out...
> 
> The location of my file looked like this...
> 
> $file = "c:\folder\folder\test.cgi";
> 
> Now this didn't work like this so I changed it to...
> 
> $file = 'c:\folder\folder\test.cgi';
> 
> Now it works fine. I don't really know why but as long as it works :)

Double quotes allow escaped characters, single quotes don't. Your
path-delimiting backslashes were escaping the character after them. You
could also do:

$file = "c:\\folder\\folder\\test.cgi";

But that's utterly useless if you're hard-coding the path anyway.

-- 
Michael


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to