Re: PHP calling an ISAPI Extension
| From: | Dan | Date: | Mon, 18 Jun 2007 22:49:19 +0000 |
| Subject: | Re: PHP calling an ISAPI Extension | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257346@lists.php.net to get a copy of this message | ||
I would normaly do it with an AJAX call but I need to do a post from WITHIN a PHP function, so when it's doing php stuff
ex.
function something()
{
echo 'whatever';
$response = post some data to a ISAPI Extension eg. post to http://domain.com/scripts/app.dll
return $response . "other data";
}
""Jay Blanchard"" <jblanchard@pocket.com> wrote in message news:56608562F6D5D948B22F5615E3F57E690245F0AC@YGEX01WAL.onecall.local...
[snip]
I'm in need of a way to contact an ISAPI Extension from a PHP function.
Does anyone know how I would be able to do this? Usually you would post
a
page to their URL/actionname. Can I do a POST from a PHP function
without
reloading the page, and get a result back? That's one tall order.
Anyone
want to give it a shot?
[/snip]
Do the POST with an AJAX call