Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

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

5:19 am on Oct 30, 2007 (gmt 0)

New User

5+ Year Member

joined:Oct 14, 2007
posts: 18
votes: 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?

7:33 pm on Oct 30, 2007 (gmt 0)

New User

5+ Year Member

joined:Oct 2, 2007
posts: 6
votes: 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?


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members