Unity Community |

Hi guys
I am trying to register an user to my server & post highscore but when I build & run it over iPhone or iPod or iPad it giving me this error(Enters the if part)
were as if I am doing the same thing from the unity3d Editor it works properly !(Enters the else part)A server with the specified hostname could not be found.
why could this be happening Iam using the following method
Code:
The above code is in a function that I call as soon as the user clicks the register button
Any suggestions pls
Thanks
Raviraj C. Vaidya
Rraviraj vaidya
bumping this thread, I'm having exactly the same problem and no solution until now![]()
Got it its the problem with the "@" sign that we pass in the email Id so the solution for this is use it some thing like this
string registerUserURL= "http://abcd.com/abcd/createuser.php?username="+userName+"&password="+pa ssWord+"&email="+WWW.EscapeURL(emailId);
This converts the string into a URL friendly format.
Rraviraj vaidya
Wow thanks a lot, that works. I initially put the "EscapeURL" but I thought the string will not be similar as the URL parameters. Many thanks! =D
Thank you raviraj_vdy!
This one caught me too. It's funny how the simple things cause the most havok.
Thank you all. good to know that the solutions is helping.
Rraviraj vaidya