Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


PHP and display issues

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Web Development
View previous topic :: View next topic  
Author Message
Goinfory
How do I cheat?
Reputation: 0

Joined: 23 Jun 2015
Posts: 1

PostPosted: Tue Jun 23, 2015 2:36 am    Post subject: PHP and display issues Reply with quote

Hello, I created a script that lets users add content and style to there pages which also allows users to preview there changes which worked on my localhost but when I moved my files to Hostforlife.eu hosting and used my preview button in my form it stripped all my css styles attribute and add backslashes like crazy. How can I fix this problem so that my style attribute is not stripped and slashes are not added? I have hostforlife linux host.

Here is an example of output when previewed.

<p class=\"asasas\">...</p>

My desired output.

<p style="color: green; margin: 50px; padding: 0px; width: 899px;" class="asasas">...</p>


Last edited by Goinfory on Tue Jun 23, 2015 7:34 am; edited 1 time in total
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 133

Joined: 25 Jan 2006
Posts: 7070
Location: 127.0.0.1

PostPosted: Tue Jun 23, 2015 4:21 am    Post subject: Reply with quote

Care to post some code to go along with what you are asking about?
Hard to help you without seeing what you are doing.

Given that your data is being escaped, are you sure you are not html encoding things or calling any sort of escaping?

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Web Development All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites