shane07 Posted December 31, 2009 Share Posted December 31, 2009 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 More sharing options...
Daniel0 Posted December 31, 2009 Share Posted December 31, 2009 You should move it to a place that isn't protected by a password. Link to comment https://forums.phpfreaks.com/topic/186784-how-to-embed-flv-file-through-ftp/#findComment-986374 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.