Jump to content

escaping data going wrong


Danny620

Recommended Posts

I have a html form with a wusiwug editor when i selete an image it generates the code for that img like

 

<img src="http://www.abc4blinds.co.uk/editor/elfinder/files/icons%20social.png" width="33" height="35"> 

 

but when i submint it

 

it gives me <img src="%5C" http:="" www.abc4blinds.co.uk="" editor="" elfinder="" files="" icons%20social.png\="" 33\="" 35\="" width="\" height="\"> 

 

why i am not running any vailidation all i am doing is accessing it in $_POST['article']

 

<td><textarea name="article" cols="85" rows="5" id="article"><?php echo $_POST['article']; ?></textarea></td>

Link to comment
https://forums.phpfreaks.com/topic/232032-escaping-data-going-wrong/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.