Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding PHP to the <embed> tag? Is it possible?

Status
Not open for further replies.

jpmad4it

Programmer
Sep 2, 2003
5
0
0
GB
Hi everyone,

I have a flash banner rotator that runs using PHP at the backend. The way in which the flash banner is called into the script is by using the following PHP:

<? php include(" ?>

I have also used this in other ways such as:

<?php $file = file_get_contents(" ?>

I am struggling to incorporate this into the <object> tag. Is there a way in which I can do this? Can I somehow get this to work in the <param name="movie"> tag? Or is there some other method that I can use?

I should also mention that the file I am working with is a 'tpl' file. I do not think that these support PHP, but I may be wrong.

Any help would be great as I am really struggling with this one.

Kind regards,
Jp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top