Blitz doesn't like downloading PHP files

Blitz3D Forums/Blitz3D Programming/Blitz doesn't like downloading PHP files

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

i was able to download html and other files, but NOT php files. maybe it is because of the php runtime, which causes a TCP timeout.

i don't quite know which code to go for, but here are both:

first:
	WriteLine tcp, "GET " + path$ + filename$ + " HTTP/1.1"
	WriteLine tcp, "Host: " + host$
	WriteLine tcp, "User-Agent: test"
	WriteLine tcp, "Accept: */*"
	WriteLine tcp, ""

second:
	eol$ = Chr(13) + Chr(10)
	WriteLine tcp, "GET " + path$ + filename$ + " HTTP/1.1 " + eol$ + "Host: " + host$ + eol$ + "User-Agent: test" + eol$ + "Accept: */*" + eol$


edit: forgot to add, but both are not working. i had this problem before. this time it doesnt work at all, but previously it was working randomly if you know what i mean...