Jump to content


Photo

PHP data to ASP.NET, and vice versa


  • Please log in to reply
4 replies to this topic

#1 MentalWealth

MentalWealth
  • Members
  • Pip
  • Newbie
  • 2 posts

Posted 24 March 2006 - 04:23 PM

Hi all,

does anyone know what medium i can use to get data passing to and fro, from a PHP web service, to an ASP web service? eg, xmlhttp, ajax etc.......what technology can be used to talk to them both?, or what can i do to make this happen?

basicly, i will be implementing a 'property' service. This service (in php) will allow browsing of property data. Other users must also be able to access and implement my data, connecting via xmlhttp (AS THEY ARE USING asp.net). I must also implement other peoples services (eg weather info service, news service etc), by connecting to their ASP services from my PHP service.

so what can i use to get this to happen? ASP uses xmlhttp, but PHP uses SOAP and ajax etc........ i may be missing something, so if someone could let me know i would be much obliged.

hope i explained my problem ok.

regards

MW

#2 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 24 March 2006 - 05:10 PM

[!--quoteo(post=357955:date=Mar 24 2006, 04:23 PM:name=MentalWealth)--][div class=\'quotetop\']QUOTE(MentalWealth @ Mar 24 2006, 04:23 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Hi all,

does anyone know what medium i can use to get data passing to and fro, from a PHP web service, to an ASP web service? eg, xmlhttp, ajax etc.......what technology can be used to talk to them both?, or what can i do to make this happen?

basicly, i will be implementing a 'property' service. This service (in php) will allow browsing of property data. Other users must also be able to access and implement my data, connecting via xmlhttp (AS THEY ARE USING asp.net). I must also implement other peoples services (eg weather info service, news service etc), by connecting to their ASP services from my PHP service.

so what can i use to get this to happen? ASP uses xmlhttp, but PHP uses SOAP and ajax etc........ i may be missing something, so if someone could let me know i would be much obliged.

hope i explained my problem ok.

regards

MW
[/quote]

the only way i can think of to get a php and asp script to 'talk' to eachother is via URL parameters. i don't know what asp's equivalent of $_GET is though.

"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#3 MentalWealth

MentalWealth
  • Members
  • Pip
  • Newbie
  • 2 posts

Posted 24 March 2006 - 05:33 PM

ok thanks.


any other ideas?



#4 emehrkay

emehrkay
  • Staff Alumni
  • Advanced Member
  • 1,214 posts

Posted 24 March 2006 - 05:36 PM

[!--quoteo(post=357972:date=Mar 24 2006, 12:10 PM:name=redbullmarky)--][div class=\'quotetop\']QUOTE(redbullmarky @ Mar 24 2006, 12:10 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
the only way i can think of to get a php and asp script to 'talk' to eachother is via URL parameters. i don't know what asp's equivalent of $_GET is though.
[/quote]
querystring() in asp

#5 Barand

Barand
  • Moderators
  • Sen . ( ile || sei )
  • 18,021 posts

Posted 25 March 2006 - 12:45 PM

xmlhttp should work fine. PHP can use that too, it isn't limited to ASP.

[a href=\"http://members.aol.com/barryaandrew/xmlhttp/article.html\" target=\"_blank\"]xmlhttp article[/a]
If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received






moon.png

|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users