描述较大时无法解析 xml 数据
unable to parse xml data when description is large
在我的项目脚本中,它总是运行顺利,但只有当描述是这样时它才会给出 "Unable to parse error" 。或者如果有大量特殊字符,也会出现这种错误。我已经处理了基本的特殊字符。如果你能告诉我这个描述有什么问题就太好了,因为它总是给出这个错误。
$description = "hi every one
now i will tell you what i want exactly
i want Development script for upload and sharing files like mediafire and mega
i will tell you about every details what i need
the websit or script will be dedicated to upload files, Whether been videos or photos or psd or pdf or mp3 every thing, i want members system in the script, will be there normal members and premium members, premium members will be have more features more than normal member, you can see difference between them in this picture
there are other things i want it in script
like Control Panel for members and Control Panel for admin
contact us page, terms page & other pages like that
linking the website in my account on Paypal to receive the money on him
this is the important things so i want tell me how much exactly will cost script like this"
<Leads>
<row no="1">
<FL val="Name">'XYZ'</FL>
<FL val="Email">'XYZ@ABC.COM'</FL>
<FL val="Country">'NEW JERSEY'</FL>
<FL val="Description">'.$description.'</FL>
</row>
</Leads>
在您的脚本中使用 CDATA。
<FL val="Description"><![CDATA['.$description.']]]]></FL>
在我的项目脚本中,它总是运行顺利,但只有当描述是这样时它才会给出 "Unable to parse error" 。或者如果有大量特殊字符,也会出现这种错误。我已经处理了基本的特殊字符。如果你能告诉我这个描述有什么问题就太好了,因为它总是给出这个错误。
$description = "hi every one
now i will tell you what i want exactly
i want Development script for upload and sharing files like mediafire and mega
i will tell you about every details what i need
the websit or script will be dedicated to upload files, Whether been videos or photos or psd or pdf or mp3 every thing, i want members system in the script, will be there normal members and premium members, premium members will be have more features more than normal member, you can see difference between them in this picture
there are other things i want it in script
like Control Panel for members and Control Panel for admin
contact us page, terms page & other pages like that
linking the website in my account on Paypal to receive the money on him
this is the important things so i want tell me how much exactly will cost script like this"
<Leads>
<row no="1">
<FL val="Name">'XYZ'</FL>
<FL val="Email">'XYZ@ABC.COM'</FL>
<FL val="Country">'NEW JERSEY'</FL>
<FL val="Description">'.$description.'</FL>
</row>
</Leads>
在您的脚本中使用 CDATA。
<FL val="Description"><![CDATA['.$description.']]]]></FL>