I have found a problem with this code :
The code don't work when i use this framework :
Framework brl.stream
Import brl.standardio
This code call a php script on a web site ... without this framework
the code work correctly.
' First, we gonna set up the strictmode Strict Function inetscript:String(myurl:String) 'Now we gonna open the requested URL to read Local myip:TStream = ReadStream(myurl$) 'We need a var to store the string that will be given 'back by the php script Local ipstring:String = "" 'Successfully opened the requested URL? If Not myip 'If not then we let the user know ipstring$ = "Error!" Else 'If yes then we read all that our script 'has for us While Not Eof(myip) 'And store the output line by line ipstring$ :+ ReadLine(myip) Wend 'Don't forget to close the opened stream in the end! EndIf 'Don't forget to close the opened stream in the end! CloseStream myip 'Just return what we've got Return ipstring$ End Function Print inetscript$("http::blitz3dfr.com/score.php?a=454&b=CARLOTA&c=40")
The code don't work when i use this framework :
Framework brl.stream
Import brl.standardio
This code call a php script on a web site ... without this framework
the code work correctly.