Re: Re: http request problem
| From: | Kencana | Date: | Wed, 03 Jan 2007 09:32:49 +0000 |
| Subject: | Re: Re: http request problem | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-246427@lists.php.net to get a copy of this message | ||
Hi all,
first of all, sorry for all the trouble i have caused.
i didnt give a clear explanation
and for your information that I am not the author of the requested jsp file.
however i did try to access other jsp file from the same server,
it didn't give me any error.
so i guess i have to ask the author about this issue.
and once again
I am really sorry for the trouble
Regards,
Kencana
Roman Neuhauser wrote:
>
> # fahad.pervaiz@gmail.com / 2007-01-03 11:19:21 +0500:
>> ===ORINGIAL===
>> hi all,
>>
>> I got problem in getting file content. the file is located at another
>> server
>> (tomcat) and it is a jsp file.
>> i don't know why i keep getting the same error message file accessing
>> that
>> file but
>> while i am trying to access to another file, from another server it run
>> perfect.
>> this is the error message i get:
>> PHP Warning:
>> file_get_contents(
>>
>> 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
>> )
>> [function.file-get-contents]: failed to open stream: HTTP request failed!
>> $5$13:53:22,13:53:22,13:53:22,13:53:22,13:53:22$0.0,0.0,0.0,0.0,0.0$Depart
>> on,Turn sharp left onto,Continue on,Turn right onto in C:\Program
>> Files\MapGuideOpenSource\WebServerExtensions\www\phpviewersample\xmlaccesstrial.php
>> on line 5
>>
>> take note that the text in bold is part of the page contents.
>
> The text/plain version of your multipart/mixed email omits terminal
> escape sequences ("tags") so there's no bold. But that error message
> is somehow garbled anyway.
>
> Now, what happens if you try to display that same url in a normal
> browser on the same network where it fails in the PHP script? If it
> works, what's the difference between the two requests? Use a packet
> capture and analysis tool like Wireshark (formerly Ethereal) to tell.
> If it doesn't work, fix that first. If it works from a normal browser,
> you can't see anything wrong with the request made by PHP, *and* you
> know your requests actually hit the server, ask its admin to cooperate.
>
> --
> 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--
View this message in context: http://www.nabble.com/http-request-problem-tf2911952.html#a8137855
Sent from the PHP - General mailing list archive at Nabble.com.