WWW Object Denied, Browser Allowed

I’m running some PHP scripts on localhost for testing. All is good when I use a web browser to run them. When I try to fire them off in Unity over a WWW object…

					if(verified)
					{
						WWWForm form = new WWWForm();
						form.AddField("user", user);
						form.AddField("password", password);
						form.AddField("email", email);
						
						www = new WWW("localhost/Mall/CreateBasic.php", form);
						
						sending = true;
						Debug.Log ("Sending...");
						StartCoroutine(SendData(www));
					}

And

	IEnumerator SendData(WWW www)
	{
        yield return www;
    }

For reference. There’s additional code to make it wait until something comes back, which in Unity is always

Okay, now this is weird. Thinking there might be a version issue, I told it to check for a new version, yet it can’t connect to those servers either. It seems that somehow network access has been turned off on my copy of Unity 4.0.0f7 basic. Any idea how to turn it back on?

Problem solved, although I’m still puzzled as to how it happened and why it would allow web pages to work, but not connections via Unity and Steam (Turned out their store page wouldn’t load in Steam). Turns out that somehow the internet options changed to use a proxy connection. Considering I’m the only one with access to this machine, it’s a mystery as to how it happened. At least it turned out not to be a problem in Unity :slight_smile: