On Fri, 2006-07-28 at 16:55, Christian Calloway wrote:
> Hello all,
> 
> this seems like an easy question, but I could sure as hell couldn't find any 
> responces to it through initial searched. I am running php on an XP system 
> and I need to open a file contained with a set of directories which may or 
> may not have a space character; so for example:
> 
> fopen ("X:\Dont Talk\About\My Momma\please.txt", "x");
> 
> I tried using \ characters, no luck (even attempted to cancel out the 
> backspace characters ala \\ and http space code %20, and still nothing.) Any 
> ideas? 

RTFM -- you need to double backslash when using double quotes. Otherwise
use single quotes.

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to