so you're saying the output from the PHP file is:
2
#1
In the HTTP Body?
So that means you have some junk before the #1.
If you just use the browser, and populate the URL with:
server.com/validtaion.php?user=testlogin&pass=testpass
If it returns 1 or 0 correctly. Then you can forget about the PHP side of things, and know that there is something wrong with the VB side.
The languages used really doesn't affect anything, since you're working with text here. (the text in the HTTP Body, it doesn't matter what created that text).
Reputation Points: 457
Solved Threads: 101
Nearly a Posting Virtuoso
Offline 1,250 posts
since Sep 2005