Posted by Steve on 04/12/07 13:40
"PEF" <xx@xx.xx> wrote in message
news:461e0855$0$862$edfadb0f@dread12.news.tele.dk...
| Hi,
|
| I need to run an asp-script on a foreign site, without running it from a
| browser, to receive some post-vars.
|
| I need to loop the data based on a order number.
|
| In asp one will use XMLHTTPobj, but what is the equivalent phpobj/code?
ajax is NOT the answer as others have noted. they miss that you DON'T want
to do this in a browser and they miss that XMLHTTP is an asp object also
(server-side).
read about sockets in php...particularly fsockopen. here's some example
code:
http://www.scriptschool.com/news/20050409/22/
hth,
me
[Back to original message]
|