interact with a php script

BlitzMax Forums/BlitzMax Programming/interact with a php script

This might help:
Local file:TStream
Local path:String = "http::www.blitzbasic.com/codearcs/codearcs.php?cat=11"
Local result:String

Try
	file = ReadStream(path)
	
	While Not Eof(file)
		
		Result:+ReadLine(file)
		
	Wend
	
Catch error:String
	
	CloseStream(file)
	RuntimeError(error)
	
End Try

CloseStream(file)

Print Result



And I can recommend JSON for small amounts of data transfer:
http://www.blitzbasic.com/codearcs/codearcs.php?code=2066#comments