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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.