Lambert, Patrick wrote:
So it sounds like you need to examine the headers of the response (which
sounds like it is a redirect)?
Try PEAR's HTTP_Request (http://pear.php.net/package/HTTP_Request).
This time in PHP using the above:
Array
(
[response_code] => 302
[response] => HTTP/1.1 302 Fo
Lambert, Patrick wrote:
So it sounds like you need to examine the headers of the response (which
sounds like it is a redirect)?
Try PEAR's HTTP_Request (http://pear.php.net/package/HTTP_Request).
More specifically, you need a HEAD request:
http://pear.php.net/manual/en/package.http.http.head.php
Fo
[EMAIL PROTECTED]
> Subject: RE: [PHP-DB] URL Problem
>
> Hi there,
>
> Thanks for the below, but I'll try to explain it a bit better.
>
> I don't have access to the ASP server, it's a general server setup for
> companies, to query their server you must us
Hi there,
>Just to help clarify, is this what you're saying?
If you were to go to the page via a web browser, and put in something
like:
http://www.someserver.com/somepage.asp?pid=11101
it would get changed (in the browser address bar) to something like
http://www.someserver.com/somepath/someo
--- Chris Payne <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> Thanks for the below, but I'll try to explain it a bit better.
>
> I don't have access to the ASP server, it's a general server setup
> for
> companies, to query their server you must use the
> ?pid=uniquecompanynumber
> as it tracks you
Can also open it in read only:
$fp = fopen ("/home/rasmus/file.txt", "r");
> Hi there,
>
> Thanks for the below, but I'll try to explain it a bit better.
>
> I don't have access to the ASP server, it's a general server setup for
> companies, to query their server you must use the ?pid=uniquecompa
Hi there,
Thanks for the below, but I'll try to explain it a bit better.
I don't have access to the ASP server, it's a general server setup for
companies, to query their server you must use the ?pid=uniquecompanynumber
as it tracks your IP to make sure the correct server is connecting. Anyway,
w
and then
<%
Response.Write( myResult )
%>
The myResult is what the php will be printing and the value you can use.
Use only one Response.Write in entire .asp
Have fun
:)
- Original Message -
From: Chris Payne
To: [EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 7:33 PM
Su
Hi there everyone,
I have a problem. Basically this is what I need to do:
Request behind the scenes (PHP) an ASP Url on a different website with the
value pid=1 (Where 1 is an identifying number). Then I need PHP to
listen to the response from that request as ASP will then return