| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor|
|Flash <> PHP <> Mysql : FLVplayer (Using NON"&" method)|
| 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...
| 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?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved