homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Flash <> PHP <> Mysql : FLVplayer (Using NON"&" method)

5+ Year Member

Msg#: 3491154 posted 5:19 am on Oct 30, 2007 (gmt 0)

I have a CMS system im developing and I have it everything based on teh index.php page using a index.php?pa=viewer.php as a template for the php doc....

Now anyway, I have it set up like this:

id being the id on the database,

on that play page i have a script that gets the FILEname "$thefilename" of that id and puts it in a variable, after this code I have a flash with a FLVplayer compononent.

loadVariables("index.php?pa=videoviewer.php&view=" + id ,_root.test);
var xx = trace(_root.test.thefilename);

var xoo = 'contentsss/' + xx;


and ofcourse, its not working... I dont want to use the method of echoing => echo "&thefilename=" . $thefilename; because i dont the file name to be shared...

Any ideas?



5+ Year Member

Msg#: 3491154 posted 7:33 pm on Oct 30, 2007 (gmt 0)

I wouldn't worry about the filename. If you don't want anyone hotlinking to your files, why not set up htaccess permissions?

If your flash file knows the id, and you dont want to use names.. couldn't you load the flv directly based on the id it's given?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved