About 20 results: "php strrchr repo:frisco82/HMR600.com-Firmware"
Page 1 of 2
Filter Results
Sources
Languages
Filter Results
Try Search On
otherlist.php in HMR600.com-Firmware https://github.com/frisco82/HMR600.com-Firmware.git | 1107 lines | PHP
  1. 	if ($mydir != "/tmp/myshare"){
  2. 		$uplink = substr_replace($_GET['dir'],'',strlen($_GET['dir'])-strlen(strrchr( $_GET['dir'],'/')));
  3. 		
  4. 			$ShareName = '/tmp/myshare/.cmd'.strrchr( $mydir,'/');
  5. 			if ($result != 0){
  6. 				//$share = strrchr( $mydir,'/');
  7. //for video files
  8. 			if ((strtolower(strrchr($files[$x],'.')) == ".wmv")||(strtolower(strrchr($files[$x],'.')) == ".mpg")|| (strtolower(strrchr($files[$x],'.')) == ".avi") ||(strtolower(strrchr($files[$x],'.')) == ".dat")||(strtolower(strrchr($files[$x],'.')) == ".mpeg")||(strtolower(strrchr($files[$x],'.')) == ".divx")||(strtolower(strrchr($files[$x],'.')) == ".xvid")||(strtolower(strrchr($files[$x],'.')) == ".mkv")||(strtolower(strrchr($files[$x],'.')) == ".mov")||(strtolower(strrchr($files[$x],'.')) == ".asf")||(strtolower(strrchr($files[$x],'.')) == ".ts")||(strtolower(strrchr($files[$x],'.')) == ".ogm")||(strtolower(strrchr($files[$x],'.')) == ".mp4")||(strtolower(strrchr($files[$x],'.')) == ".vob")||(strtolower(strrchr($files[$x],'.')) == ".flv") ||(strtolower(strrchr($files[$x],'.')) == ".m4v")){
  9. 				echo "<table width='35' height='2' cellspacing='0' cellpadding='0' border='0'> <tr>";
  10. 				if ((strtolower(strrchr($files[$x],'.')) == ".wmv")||(strtolower(strrchr($files[$x],'.')) == ".mpg")|| (strtolower(strrchr($files[$x],'.')) == ".dat")||(strtolower(strrchr($files[$x],'.')) == ".mpeg")||(strtolower(strrchr($files[$x],'.')) == ".asf"))
  11. //for Audio files
  12. 			else if ((strtolower(strrchr($files[$x],'.')) == ".wma")||(strtolower(strrchr($files[$x],'.')) == ".mp3")||(strtolower(strrchr($files[$x],'.')) == ".wav")||(strtolower(strrchr($files[$x],'.')) == ".mp2")||(strtolower(strrchr($files[$x],'.')) == ".aac")||(strtolower(strrchr($files[$x],'.')) == ".ac3")||(strtolower(strrchr($files[$x],'.')) == ".ogg")||(strtolower(strrchr($files[$x],'.')) == ".dts") ||(strtolower(strrchr($files[$x],'.')) == ".flac") ||(strtolower(strrchr($files[$x],'.')) == ".m3u")||(strtolower(strrchr($files[$x],'.')) == ".m3u8") ||(strtolower(strrchr($files[$x],'.')) == ".pls"))
  13. 				echo "<table width='35' height='2' cellspacing='0' cellpadding='0' border='0'> <tr>";
  14. 				if ((strtolower(strrchr($files[$x],'.')) == ".wma")||(strtolower(strrchr($files[$x],'.')) == ".mp3")||(strtolower(strrchr($files[$x],'.')) == ".wav")||(strtolower(strrchr($files[$x],'.')) == ".mp2") ||(strtolower(strrchr($files[$x],'.')) == ".flac"))
  15. 					echo "<table width='20' height='17' cellspacing='0' cellpadding='0' border='0'> <tr>";
  16. 					if ((strtolower(strrchr($files[$x],'.')) == ".zip") || (strtolower(strrchr($files[$x],'.')) == ".tar") || (strtolower(strrchr($files[$x],'.')) == ".bz2"))

m3uAll.php in HMR600.com-Firmware https://github.com/frisco82/HMR600.com-Firmware.git | 336 lines | PHP
  1. 
                        
  2. $uplink = substr_replace($_GET['dir'],'',strlen($_GET['dir'])-strlen(strrchr( $_GET['dir'],'/')));
  3. 		if(!is_dir($mydir . "/" . $files[$x])) {
  4. 			 if ((strtolower(strrchr($files[$x],'.')) == ".wma")||(strtolower(strrchr($files[$x],'.')) == ".mp3")||(strtolower(strrchr($files[$x],'.')) == ".wav")||(strtolower(strrchr($files[$x],'.')) == ".mp2")||(strtolower(strrchr($files[$x],'.')) == ".aac")||(strtolower(strrchr($files[$x],'.')) == ".ac3")||(strtolower(strrchr($files[$x],'.')) == ".dts")||(strtolower(strrchr($files[$x],'.')) == ".png")||(strtolower(strrchr($files[$x],'.')) == ".jpeg")|| (strtolower(strrchr($files[$x],'.')) == ".jpg")||(strtolower(strrchr($files[$x],'.')) == ".bmp")||(strtolower(strrchr($files[$x],'.')) == ".gif")||(strtolower(strrchr($files[$x],'.')) == ".tif")||(strtolower(strrchr($files[$x],'.')) == ".wmv")||(strtolower(strrchr($files[$x],'.')) == ".mpg")|| (strtolower(strrchr($files[$x],'.')) == ".avi") ||(strtolower(strrchr($files[$x],'.')) == ".dat")||(strtolower(strrchr($files[$x],'.')) == ".mpeg")||(strtolower(strrchr($files[$x],'.')) == ".divx")||(strtolower(strrchr($files[$x],'.')) == ".xvid")||(strtolower(strrchr($files[$x],'.')) == ".mkv")||(strtolower(strrchr($files[$x],'.')) == ".mov")||(strtolower(strrchr($files[$x],'.')) == ".asf")||(strtolower(strrchr($files[$x],'.')) == ".ts")||(strtolower(strrchr($files[$x],'.')) == ".ogm")||(strtolower(strrchr($files[$x],'.')) == ".mp4")
  5. 				 ||(strtolower(strrchr($files[$x],'.')) == ".flv")||(strtolower(strrchr($files[$x],'.')) == ".m4v") ||(strtolower(strrchr($files[$x],'.')) == ".flac")){
  6. 
                        

videolist.php in HMR600.com-Firmware https://github.com/frisco82/HMR600.com-Firmware.git | 804 lines | PHP
  1. 	if ($mydir != "/tmp/myshare"){
  2. 		$uplink = substr_replace($_GET['dir'],'',strlen($_GET['dir'])-strlen(strrchr( $_GET['dir'],'/')));
  3. 		
  4. 			$ShareName = '/tmp/myshare/.cmd'.strrchr( $mydir,'/');
  5. 			if ($result != 0){
  6. 				//$share = strrchr( $mydir,'/');
  7. 
                        
  8. 	$uplink = substr_replace($_GET['dir'],'',strlen($_GET['dir'])-strlen(strrchr( $_GET['dir'],'/')));
  9. 		if (substr($line1[$x],0,1) != 'd'){
  10. 			 if ((strtolower(strrchr($files[$x],'.')) == ".wmv")||(strtolower(strrchr($files[$x],'.')) == ".mpg")|| (strtolower(strrchr($files[$x],'.')) == ".avi") ||(strtolower(strrchr($files[$x],'.')) == ".dat")||(strtolower(strrchr($files[$x],'.')) == ".mpeg")||(strtolower(strrchr($files[$x],'.')) == ".divx")||(strtolower(strrchr($files[$x],'.')) == ".xvid")||(strtolower(strrchr($files[$x],'.')) == ".mkv")||(strtolower(strrchr($files[$x],'.')) == ".mov")||(strtolower(strrchr($files[$x],'.')) == ".asf")||(strtolower(strrchr($files[$x],'.')) == ".ts")||(strtolower(strrchr($files[$x],'.')) == ".ogm")||(strtolower(strrchr($files[$x],'.')) == ".mp4") ||(strtolower(strrchr($files[$x],'.')) == ".vob")||(strtolower(strrchr($files[$x],'.')) == ".flv") ||(strtolower(strrchr($files[$x],'.')) == ".m4v"))
  11. 				echo "<table width='35' height='2' cellspacing='0' cellpadding='0' border='0'> <tr>";
  12. 				if ((strtolower(strrchr($files[$x],'.')) == ".wmv")||(strtolower(strrchr($files[$x],'.')) == ".mpg")|| (strtolower(strrchr($files[$x],'.')) == ".dat")||(strtolower(strrchr($files[$x],'.')) == ".mpeg")||(strtolower(strrchr($files[$x],'.')) == ".asf") ||(strtolower(strrchr($files[$x],'.')) == ".m4v"))














screenshot.php in HMR600.com-Firmware https://github.com/frisco82/HMR600.com-Firmware.git | 115 lines | PHP
  1. $type = $line1[1];
  2. $playing = substr(strrchr($line1[2], '/'), 1);

main.php in HMR600.com-Firmware https://github.com/frisco82/HMR600.com-Firmware.git | 95 lines | PHP
  1. 	$type = $line1[1];
  2. 	$playing = substr(strrchr($line1[2], '/'), 1);

nowplaying.php in HMR600.com-Firmware https://github.com/frisco82/HMR600.com-Firmware.git | 116 lines | PHP
  1. $type = $line1[1];
  2. $playing = substr(strrchr($line1[2], '/'), 1);

screenShot.php in HMR600.com-Firmware https://github.com/frisco82/HMR600.com-Firmware.git | 374 lines | PHP
  1. $type = $line1[1];
  2. $playing = substr(strrchr($line1[2], '/'), 1);

Back to Top