Calliling php script with network.request GET failed

http://qingtest333.byethost9.com/getplayer.php?username=jacky&password=1234

When I paste URL above on browser I can get correct response from my server. 

However I get difference response below when I tried to call this URL with network.request GET function 
 

RESPONSE: <html><body><script type=“text/javascript” src="/aes.js" ></script><script>function toNumbers(d){var e=[];d.replace(/(…)/g,function(d){e.push(parseInt(d,16))});return e}function toHex(){for(var d=[],d=1==arguments.length&&arguments[0].constructor==Array?arguments[0]:arguments,e="",f=0;f<d.length;f++)e+=(16>d[f]?“0”:"")+d[f].toString(16);return e.toLowerCase()}var a=toNumbers(“f655ba9d09a112d4968c63579db590b4”),b=toNumbers(“98344c2eee86c3994890592585b49f80”),c=toNumbers(“e5997c26c51df4eb596cda49bcacf0bc”);document.cookie="__test="+toHex(slowAES.decrypt(c,2,a,b))+"; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/"; document.cookie=“referrer=”+escape(document.referrer); location.href=“http://qingtest333.byethost9.com/getplayer.php?username=jacky&password=1234&ckattempt=1”;</script><noscript>This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support</noscript></body></html>

 

local function loginCallback(event) -- perform basic error handling if ( event.isError ) then print( "Network error!") else -- return a response code print ( "RESPONSE: " .. event.response ) end return true end local URL = "http://qingtest333.byethost9.com/getplayer.php?username=jacky&password=1234" network.request( URL, "GET", loginCallback ) 

What could be the possible errors here? 

Please help me. Thanks!

It looks like to me that they are trying to execute some JavaScript in your browser which is why it works. But the use of network.request() isn’t a browser and can’t run JavaScript. I would check to the script’s creator and the host as to why they are trying to require this.

Rob

I think I have found the problem from the host forums.

http://byet.net/vb/forum/main-category/free-hosting-community-forum/2783-problem-with-page
http://byet.net/vb/forum/main-category/free-hosting-community-forum/2786-cannot-execute-php-requests-anymore-urgent
 

That’s pretty straight forward. They don’t allow non-browsers to hit their free service.

It looks like to me that they are trying to execute some JavaScript in your browser which is why it works. But the use of network.request() isn’t a browser and can’t run JavaScript. I would check to the script’s creator and the host as to why they are trying to require this.

Rob

I think I have found the problem from the host forums.

http://byet.net/vb/forum/main-category/free-hosting-community-forum/2783-problem-with-page
http://byet.net/vb/forum/main-category/free-hosting-community-forum/2786-cannot-execute-php-requests-anymore-urgent
 

That’s pretty straight forward. They don’t allow non-browsers to hit their free service.