JKing
(Standard)
Lurker
Montreal, Ontario
Posts: 3
Joined:
2/13/2007
|
I haven't actually read any of the comic yet, but I applaud you nevertheless on making it very easy for me to read it all, sir. As someone who both writes a comic and works a fair bit with automated processes to tackle the inadequacies of content on the Web that should by all rights be homogeneous, I really appreciate how easy you've made it. No wasted bandwidth for me.
I shall definitely be returning, whether if it's only to say I didn't like it, or to continue reading indefinitely. With such a sensible head on your shoulders, though, I don't think I shall be disappointed.
*JKing considers suggesting such an archive to his colleague, immediately hatching schemes involving ludicrously simple scripting.
|
Wolfwood29
(Moderator)
Fanatic
Phoenix, Arizona
Posts: 843
Joined:
5/9/2006
|
Wow, I'm impressed by all the big words
Speaking of the archive, I looked at the zip of all the comics. I think your .zip file producting code doesn't like single quotes... it puts a slash on there and the .zip file thinks it's a directory.
Might wanna turn off magic quotes if they're on.
"Dangerous toys are fun, but you could get hurt!"
|
JKing
(Standard)
Lurker
Montreal, Ontario
Posts: 3
Joined:
2/13/2007
|
Post by Wolfwood29 on Monday, February 19, 2007 9:21 pm:
Wow, I'm impressed by all the big words
That's what happens when you learn English as a second language: you either fail miserably, or you take it a little too far.
Speaking of the archive, I looked at the zip of all the comics. I think your .zip file producting code doesn't like single quotes... it puts a slash on there and the .zip file thinks it's a directory.
Might wanna turn off magic quotes if they're on.
It does seem fairly clear that magicquotes_gpc is indeed on, but the trouble is even -more- insidious! Not only is an errant backslash producing a directory structure within the archive, but there are also several characters in the file names that are, to my knowledge, illegal in any filesystem worth mentioning: namely, the interrogation mark and double-quotation mark. This means that the files in the archive cannot be extracted, which clearly sucks.
Thus, unfortunately, I've had to browse the archive of comics in the more typical fashion. Not the end of the world, but using the archive would have been nice.
|
Nitrocosm
(Administrator)
Super Poster
Kokomo, Indiana
Posts: 1478
Joined:
3/9/2005
|
This won't be too hard to fix.
EDIT: magicquotes_gpc is turned off and has always been off on this server as well as my dev server. I think some of the files may have been uploaded after moving between servers, therefore having some weird stuff happening in there.
There is some odd behavior on this live server; on my dev server the zip file does not have any odd things going on. I'm not sure if it's still a good idea to allow question marks and quotes in the file names, but it doesn't seem to do anything odd.
Funny thing is, WinRAR automagically replaces the illegal characters with underscores... but given that not every program does that, I've changed the code to remove these characters from the file names.
73's, KD8FUD
|
CodeWarrior
(Verified)
Lurker
Adelaide
Posts: 59
Joined:
5/5/2006
|
*nix systems including OS X typically don't have a problem with filenames containing special characters, you just need to make sure they're escaped.
You can quite comfortably create a file called '\' using 'touch \\' on the command line.
Having said that, I'm probably just nit-picking
don't mind me.
|