- Home /
WWW.text gets extra analytics code to the string!?!
I'm having an issue with delivering the information downloaded by unity from the php page. The thing is that the text which comes from the WWW.text or WWW.data contains the needed value at the left side of the string but everything from there on is an extra analytics code. How do I get the original value that was echoed from the PHP page? without the analytics part?
Many thanks!
Answer by venkspower · May 03, 2012 at 12:34 PM
Use WWW class to call your PHP file and parse its .text (you can also send parameters to PHP adding a WWWForm to the request).
Answer by benk0913 · May 03, 2012 at 06:34 PM
Thats what I'm doing but for some reason I get an extra "analytics" code provided with the echoed info to the string. How do I disable this analytics code?
When replying to people's answers or comments, you need to use the "add new comment" link immediately under that answer or comment. You're just using the "Your answer" box every time, which means that people won't generally be able to work out what you're talking about.