I am developing a website and want to make it possible for the user to create some things POSTing XML data. To do this, there <textarea>is where the user can write (copy / paste) XML and send it. The problem is that I lose data: characters such as <, >and I think that others are lost.
Perhaps this is a skeleton issue, not sure if I am using Elgg and getting data using get_input().
UPDATE1 : some code responds to a comment:
<form method="POST" action="http://for.bar/slash" enctype="text/xml">
<input name="add" type="submit" value="Create" />
</form>
to get the data that I use elgg get_input()
$data = get_input('data');
source
share