You are here: Re: Call an asp script from php « PHP Programming Language « IT news, forums, messages
Re: Call an asp script from php

Posted by Andy Hassall on 12/17/39 11:52

On 9 Jul 2006 12:36:38 -0700, lucyachammond@yahoo.co.uk wrote:

>I have a 3rd party real-estate website written in php. I would like to
>call an asp script on a separate webserver each time a new real-estate
>item is added to the database on the php site.
>
>The asp script updates a sql server database for another site and once
>the page has been called, I do not need any return information from it.
> I have searched the groups but cannot find a definitive way of making
>the call to the asp script - I am a asp programmer, new to php so any
>help would be much appreciated.

fopen can (under the most common configuration, although it can be disabled)
open URLs as if they were files, so you can use that to make a GET request to
an ASP page. http://uk.php.net/fopen

For more complex cases (POST, cookies, finer control over timeouts etc.)
there's cURL: http://uk.php.net/manual/en/ref.curl.php

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация