About 129,082 results: "php strtolower"
Page 7 of 50
Filter Results
Sources
Languages
Filter Results
Try Search On
















  1.         mkdir($path . '/view');
  2.         mkdir($path . '/view/'.strtolower($controller));
  3.         $replace = array(
  4.             strtolower(substr($params['module'], 0, 1)) . substr($params['module'], 1),
  5.             strtolower(substr($controller, 0, 1)) . substr($controller, 1),
  6.             strtolower(preg_replace('/(?!^)[[:upper:]]+/', '_$0', $controller)),
  7.         file_put_contents($path . '/view/'.strtolower($controller).'/index.json.php', str_replace($search, $replace, file_get_contents($dummy . '/index.json.php')));
  8.         file_put_contents($path . '/view/'.strtolower($controller).'/widget.html.php', str_replace($search, $replace, file_get_contents($dummy . '/widget.html.php')));
  9. //        file_put_contents($path . '/view/'.strtolower($controller).'/new.html.php', str_replace($search, $replace, file_get_contents($dummy . '/new.html.php')));
  10. //        file_put_contents($path . '/view/'.strtolower($controller).'/new.json.php', str_replace($search, $replace, file_get_contents($dummy . '/new.json.php')));
  11.         file_put_contents($path . '/view/'.strtolower($controller).'/create.html.php', str_replace($search, $replace, file_get_contents($dummy . '/create.html.php')));
  12.         file_put_contents($path . '/view/'.strtolower($controller).'/create.json.php', str_replace($search, $replace, file_get_contents($dummy . '/create.json.php')));
  13.         file_put_contents($path . '/view/'.strtolower($controller).'/show.html.php', str_replace($search, $replace, file_get_contents($dummy . '/show.html.php')));
  14.         file_put_contents($path . '/view/'.strtolower($controller).'/show.json.php', str_replace($search, $replace, file_get_contents($dummy . '/show.json.php')));
  15. //        file_put_contents($path . '/view/'.strtolower($controller).'/edit.html.php', str_replace($search, $replace, file_get_contents($dummy . '/edit.html.php')));



  1. //for video files
  2. 			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")){
  3. 
                        
  4. 				$ext = strtolower(substr($files[$x], strrpos($files[$x], '.')+1));
  5. 				echo "<table width='35' height='2' cellspacing='0' cellpadding='0' border='0'> <tr>";
  6. 				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"))
  7. //for Audio files
  8. 			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"))
  9. 				echo "<table width='35' height='2' cellspacing='0' cellpadding='0' border='0'> <tr>";
  10. 				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"))
  11. 				
  12. 				$ext = strtolower(substr($files[$x], strrpos($files[$x], '.')+1));
  13. 
                        
  14. 					$ext = strtolower(substr($files[$x], strrpos($files[$x], '.')+1));
  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"))

Back to Top