Jump to content

how to embed flv file through ftp


shane07

Recommended Posts

hello

Below is the code I'm using to connect through FTP

$conn = ftp_connect("192.168.0.3") or die("Couldn't connect to Server");
ftp_login($conn, "user", "password") or die("Could not log in");
ftp_chdir($conn,'/multimedia/video/');

My video resides in ftp://192.168.0.3/multimedia/video/somevideo.flv.

This full path is I'm embedding in the flash player.

But each time I try to play the file, the browser asks for username and password.

What shall I do so that once ftp session has been created, the browser won't ask username and password to play the video?

 

Thank You

Link to comment
https://forums.phpfreaks.com/topic/186784-how-to-embed-flv-file-through-ftp/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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