Jump to content

PHP in the <embed> tag....is this possible?


jpmad4it

Recommended Posts

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("http://www.mysite.com/banners"); ?>

 

I have also used this in other ways such as:

 

<?php $file = file_get_contents("http://www.mysite/banners"); ?>

 

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

Link to comment
https://forums.phpfreaks.com/topic/44495-php-in-the-tagis-this-possible/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.