RE: [PHP] Displaying image paths with spaces

2009-09-08 Thread Bob McConnell
From: Skip Evans > HallMarc Websites wrote: >> Actually, %5C is a \ character, % is %25 >> Why it is adding a character that is used in local address strings is >> baffling and I think a clue as to what is going on. Is it possible it is >> mashing a local file address into a web address? > > Aha

Re: [PHP] Displaying image paths with spaces

2009-09-07 Thread Skip Evans
HallMarc Websites wrote: Actually, %5C is a \ character, % is %25 Why it is adding a character that is used in local address strings is baffling and I think a clue as to what is going on. Is it possible it is mashing a local file address into a web address? Aha! I think that might be it. In t

RE: [PHP] Displaying image paths with spaces

2009-09-07 Thread HallMarc Websites
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Monday, September 07, 2009 1:24 PM > To: Skip Evans > Cc: php-general@lists.php.net > Subject: Re: [PHP] Displaying image paths with spaces > > On Mon, 2009-09-07 at 12:14

Re: [PHP] Displaying image paths with spaces

2009-09-07 Thread Ashley Sheridan
On Mon, 2009-09-07 at 12:14 -0500, Skip Evans wrote: > Ashley Sheridan wrote: > > > > How are you outputting those URLs? PHP won't just automatically converty > > '%20' to a '\ '. > > > > What is the raw URL format you're getting from FCKEditor? > > > > Thanks, > > Ash > > http://www.ashleysheri

Re: [PHP] Displaying image paths with spaces

2009-09-07 Thread Skip Evans
Ashley Sheridan wrote: How are you outputting those URLs? PHP won't just automatically converty '%20' to a '\ '. What is the raw URL format you're getting from FCKEditor? Thanks, Ash http://www.ashleysheridan.co.uk The raw code in the FCKeditor looks like this: src="/clients/client_118/ima

Re: [PHP] Displaying image paths with spaces

2009-09-07 Thread Ashley Sheridan
On Sun, 2009-09-06 at 23:40 -0500, Skip Evans wrote: > Hey all, > > I have a CMS system that uses the FCKeditor to allow users to > create directories in which to store images. FCK allows users > to create directories with spaces in them, and it's pretty > deep in the JavaScript code so modifyi

[PHP] Displaying image paths with spaces

2009-09-06 Thread Skip Evans
Hey all, I have a CMS system that uses the FCKeditor to allow users to create directories in which to store images. FCK allows users to create directories with spaces in them, and it's pretty deep in the JavaScript code so modifying that is not a simple option, so at this point I'm trying to