Monday, June 29, 2009

Embeding PHP file into your blog

Just now I had to search everywhere on the web how to imbed PHP file onto my blog. Anyway it took me 1 hour to figure out how to embed PHP file. So here's the simple trick. Remember that PHP file are run on the server side.

<object width="425" height="344" type="text/html" data="URL.php"></object>

I have put the width and height according to the way I want to display on the page. but you can change according to your needs.  Check out this site where I have embedded it.[Here]

This works only in Mozilla FireFox. If anyone know more about it, please feel free to share.

Signature

Twit This!

No comments:

Monday, June 29, 2009