Page 1 of 1

can php do this?

Posted: Tue Sep 01, 2009 10:22 pm
by zubwa
I have a vacation condo rental site that is hosted on godaddy. On my site i have a link to view and book reservations that is a link to a site hosted on my reservation software companies server. Right now this redirects the user to an external site and i would like the user to stay or at least look like they are still on my site. I am developing a site with joomla and would like to create an article for each unit that would get it's information from an xml file on the reservation software server and display it on my site so the user never leaves my site. Example can be found at http://www.johnspasscondos.com by clicking on check availability, you will see you are redirected to another site. Is this something that can be done?

Thanks

Re: can php do this?

Posted: Tue Sep 01, 2009 10:59 pm
by s.dot
Yes.

Re: can php do this?

Posted: Tue Sep 01, 2009 11:15 pm
by zubwa
is this very difficult to do?

Re: can php do this?

Posted: Wed Sep 02, 2009 12:10 am
by s.dot
no not at all

have a look at file_get_contents() function and the SimpleXML class on php.net
the documentation should guide you through it pretty well :)

Re: can php do this?

Posted: Wed Sep 02, 2009 12:58 am
by zubwa
ok thanks for your help