Re: URL Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anyway first you have to translate your problem to us.
In plain english. 

But I have spare time, so.. here is the solution for your problem, as I understood it.

from php
<?php
$f = file("http://myserver.com/index.asp?pid=1111";);
print_r($f);
?>

In ASP you take the pid do what you want to it 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: php-db@xxxxxxxxxxxxx 
  Sent: Wednesday, April 21, 2004 7:33 PM
  Subject:  URL Problem


  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=11111 (Where 11111 is an identifying number).  Then I need PHP to
  listen to the response from that request as ASP will then return a value
  which PHP has to pickup, and I have ZERO idea how to do this :-(  I tried
  something which I though, but that gets the webpage and NOT the url that it
  passes back with it’s values.

   

  Any help would be greatly appreciated.

   

  So basically I need to request an URL from within PHP, PHP listens to and
  gets the reply URL that is sent back to it with the new value (Which is
  determined by the pid= value).

   

  Thank you everyone.

   

  Chris


  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.662 / Virus Database: 425 - Release Date: 4/20/2004
   

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux