CyberiaPC.com Community Forums Main Page
RSS Feeds: Late(st) News | Zenith Picture Gallery | Most Recent Community Topics | Tips, Tricks and Other Useful Stuff

Welcome Guest ( Log In | Register )

 Forum Rules Also hosted on SourceForge and FreshMeat
Reply to this topicStart new topic
> "batch add spaces" issue
Dennis Evertse
post Apr 25 2008, 08:28 PM
Post #1


New Member
*

Group: Members
Posts: 39
Joined: 3-November 07
Member No.: 9,377

Netherlands




I Can't batch add files with filename's with spaces. lookaround.gif
Go to the top of the page
 
+Quote Post
usr.c
post Apr 26 2008, 11:45 AM
Post #2


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




Sorry I won't be able to test this before suggesting it since I just switched PCs and need to reinstall my development environment. Look in functions/f_admin.php for

CODE
$filename_escape_chars = $config['escape_chars'];  $filename_escape_chars[] = ' ';

and replace it with
CODE
$filename_escape_chars = $config['escape_chars'];

There must have been a reason why that second line was added in, but since I can't remember what it is now, you can go ahead and remove it and see what happens. Hopefully, nothing will blow up original.gif

You didn't specify what happens when you try to batch add files with spaces; does it give an error message or does it work ok, but remove all the spaces from the filenames?


--------------------


Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch
I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com
Go to the top of the page
 
+Quote Post
Dennis Evertse
post Apr 26 2008, 04:06 PM
Post #3


New Member
*

Group: Members
Posts: 39
Joined: 3-November 07
Member No.: 9,377

Netherlands




An error appears thumbsup.gif

I'm going to give it a try thumbsup.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd May 2013 - 03:01 PM