You can POST forms transparently between servers by using sockets.
Basically, your PHP file will simply send the POSTed data to a page and
will read it after that. Then you parse the ASP output and vuala!

Start here:

www.php.net/fsockopen

Good Luck!


Maxim Maletsky
Founder, Chief Developer

www.PHPBeginner.com   // where PHP Begins



> -----Original Message-----
> From: Purple Tiger [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 2002 9:37 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] getting a string from an external asp file
> 
> This has probably been answered somewhere else, but I'm bashing my
head
> against a wall trying to find the answer.
> 
> I'm trying to call an external ASP file from a different server (for
> e-commerce authorisation) and send POST data to it.  The ASP will
return
> only a string (ie prints it!!) and I need to get this into a variable
so I
> can process it.
> 
> I assume I can't use a FORM for this as the ASP doesn't return HTML
data.
> 
> I've tried EXEC, but to no avail and need some help here.
> Thanks in advance.
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to