Displaying formatted text

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
TeeTwo
Forum Newbie
Posts: 10
Joined: Mon Oct 25, 2010 5:58 pm

Displaying formatted text

Post by TeeTwo »

I am trailing a rich edit widget in a php page. This works perfectly. To output I have a post action into a php file.
My problem is this:-
I have no problem at all when I run the files in WAMP but when I trial the same files online in a paid hosting site the received formatted text is transferred ok but the formatting is not acted on. The text is displayed plain.

I am puzzled why it should work in Wamp but not on my server. My host suggested I disable Mod_security in my C Panel. This I tried but to no avail. So any suggestions would be most welcomed. The widget I am trilling is Whizzygig. Strange name but works well.
Thanks in advance
Terry
TeeTwo
Forum Newbie
Posts: 10
Joined: Mon Oct 25, 2010 5:58 pm

Re: Displaying formatted text

Post by TeeTwo »

I found a solution the output had a lot of backslashes that Wamp ignored but the server did not. I solved the problem by using the function stripslashes. It is amazing how a simple solution can be found. Thought I would post to maybe help others
Post Reply