Hello all,
I have built an online booking system for golf courses in php/mysql, but I want golf course to be able to embed the system into their own sites - which might not have php.
This is a one page form, that reads my database, and outputs results of the search on the same page - ie booking times free.
When we try it locally, we use this code, in the courses look and feel file:
(See the demo at http://www.thejoie.com.au/demo/)
<code>
$filename="testClubBooking.html";
include($filename);
</code>
Is there some code that the golf course can include in their site that pulls our php powered page into their site, assuming they don't have php on their server??
ie can the html output from our server, be loaded by a remote server into their html.
Suggested approaches so far:
php outputs a javascript file, that is created on the fly
look and feel template stored on our server
enhanced template using xml
<object></object> html to include our php, like it was a java object
rewrite our php in java
install php on the golf course server, and get them to process our code ( but then they have our source code)
The ultimate answer:
- a short include from html
- the source code stays on our machine
- all they see is the html output
- they can link to our code from any of their pages they like
- they can change their look and feel without us having to update any files on our machine.
Tricky. Hmmmmm. There might be answer. But what is quick, short, and easy.
The question again:
Is there some code that a remote site (the golf course) can include in their site that pulls our php powered page into their site, assuming they don't have php on their server??
Thanks for any thoughts.
Regards,
Richard