Well, what I am thinking is this: You know how you can display an
image on your page from another site?  Why not try that? I know it
works as long as the folder on the other site is not protected.  If it
is, and you must get the file through a php page, just put the swf
source url as the php page as long as the php page sends the headers
to you as the correct mime type.

I do this with images all the time to protect them.  <img src="http://
img.othersite.com/getImage.php?id=1" /> and in the php page I check
the referrer and then send the headers: header("Content-type:
{$sql['mime']}");

On Nov 30, 3:01 pm, "Novice Programmer" <[EMAIL PROTECTED]>
wrote:
> Hello guys,
>
> actually i have stored some SWFs on one web server...but the index page of
> the site is not on that server...
> the php page where these swfs will be embedded is on some other server..
> what are the possibilities of using the swfs on other server from this one..
> I guess i can't directly accesses files on the other server directly. Can
> some one help?
>
> --
> Thanks & Regards,
> Novice (http://ishuonweb.wordpress.com/).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to