Inserting a PHP Script into a HTML document<

I know this can be done. Or to a certain extent anyways. But I cant figure out for the life of me how.

Heres the problem; I have a mwhois.php script installed on my server. It checks domain name availability. I wanted to have this visible on every page in the side column but the other pages are all .html based. How do I then insert the PHP script without stuffing up the rest of my page?

<!-- m --><a class="postlink" href="http://aus-designs.com/mwhois/mwhois.php">http://aus-designs.com/mwhois/mwhois.php</a><!-- m -->

thats the URL for the php page which i created with headers and footers etc. you'll see the search on the lower left hand side.

Any suggestions are greatly appreciated!<?php // php code here ?>to include an external PHP file:


include "external.php"thanx guys, i finally figured it out!Share your knowledge with us Aus?

Have to admit I'm not too clear on what you were asking to start with.

Cheers,
HKif all the other pages where .html, than how did you manage to use include() on your page ? i wonder O_olooks like the master is a .php (see link).
 
Back
Top