Re: Re: calling an ASP program or object from within php
| From: | Frank M. Kromann | Date: | Tue, 15 Jan 2002 01:06:41 +0000 |
| Subject: | Re: Re: calling an ASP program or object from within php | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-11445@lists.php.net to get a copy of this message | ||
Hi,
If you just need to execute an ASP script on the same (or any other server) you can do it with
fopen().
<?
$var1 = "abc";
$var2 = 123,
$url = "http://some-url.com?var1=$var1&var2=$var2";
if ($fp = fopen($url)) {
$data = fread($fp, 4069);
fclose($fp);
)
?>
- Frank
> Yikes -- seems pretty complex for what I need to do right now but
> definately cool to download and use for windows development down the
> road - thanks,
>
> Nicole
>
> Andrew Stopford wrote:
>
> > Hi,
> >
> > You have a couple of options but I would recommend using WDDX
> > (http://www.openwddx.org), both ASP and PHP support WDDX and its great way
> > of sharing data between the two.
> >
> > --
> > Andrew Stopford
> > http://www.a-coda.com
> >
> >
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>