Re: Re: http request problem

From: Date: Wed, 03 Jan 2007 08:57:37 +0000
Subject: Re: Re: http request problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-246421@lists.php.net to get a copy of this message
# fahad.pervaiz@gmail.com / 2007-01-03 11:19:21 +0500: > ===ORINGIAL=== [...] > ===END ORIGINAL=== Gah, early morning! Ok, I wasted my time thanks to your quoting style. Would you please use something more conventional, like prefixing each line of the quoted material with "> "? Thank you! > I tried following code but it gives the same error > > $link=" > > http://123.123.1.2:8008/V3JRoute?slot=1&startX=103.880764&startY=1.335458&endX=103.886297&endY=1.334953&routeType=1&format=2 > "; > > $handle2= fopen($link,"r"); > > $contents = ''; > while (!feof($handle2)) { > $contents = fread($handle, 819200); > echo $contents; > } > > I tried opening the given URL directly, but this url seems to be a broken > link. If you try any other link, it will work Thank you for the information. Seriosly: does that mean that your original question is answered, or do you still expect advice on getting it to work? I really can't tell, there's neither a question nor a "solved" statement in your email. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991

« previous php.general (#246421) next »