Help - Search - Members - Calendar
Full Version: Does Zymic Strip Backslashes And Convert Quotes On Upload Of Php Files?
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
Jim Manley
Hi everyone,

When I uploaded the files for my site to Zymic, the HTML formatting got completely hosed and wound up with lots of extraneous characters in the displayed pages. When I used the Zymic File Manager source editor to look at the PHP files, I found that all of the newlines (\n) embedded in the echo statements had been stripped of their backslashes (to just the letter n), and double quotes (") in the echo statements had been converted from " to &-quot (without the dash) strings.

I've never seen this kind of problem on any other hosting site and was wondering if anyone else has had this problem. I'm generating the HTML for my site's pages on the fly using echo statements within PHP files, and they seem to work fine on Apache servers running on my local PCs. I hope the answer isn't that I have to change how my pages are generated to avoid \n and " characters, as I have a lot of pages already written.

Thanks very much for any illumination you can provide here in the cave!

Jim
swordz
Hi.

How are you uploading? I also have \n's etc, and they're fine for me.

swordz
Jim Manley
QUOTE(swordz @ Dec 18 2008, 08:28 PM) *
Hi.

How are you uploading? I also have \n's etc, and they're fine for me.

swordz


Hi swordz,

I was using the Upload button in the File Manager. I can use Filezilla, or any other ftp client, but, I think the problem may be the File Manager editor - it may be trying to torque everything into HTML, which is fine for the WYSIWYG editor, but, the source editor shouldn't be modifying anything.

Another problem that I've found with the source editor is that when I go back into a file I've edited with it, the source can become invisible - it's still there, because the pages still display and their size looks fine in the File Manager listing - very weird. I'm capable of figuring out and solving the problem if I can get access to the source for the editor - is this one based on something out there in the Open Source community (e.g., SourceForge, etc.)?

I'm one of those people who can bring pretty much anything to its knees without even trying, and certainly not intending to (hey, I've got real work to do! hunter.gifsmile.gif Another one bites the dust!

Thanks for your help, and All the Best,
Jim
swordz
Ah.

We recommend ftp for a reason. We're planning to build our own cp at some point, but until then...

swordz
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.