=100)
	{echo "E: invalid plistid.";exit();}
	if(intval($_POST["plistid"])<16&&strcmp($_SERVER["REMOTE_ADDR"],"127.0.0.1")!=0&&strcmp($_SERVER["REMOTE_ADDR"],"::1")!=0&&strpos($_SERVER["REMOTE_ADDR"],"192.168")!==0&&strpos($_SERVER["REMOTE_ADDR"],"10.42")!==0)
	{echo "W: Protected play list. Doing nothing. " . $_SERVER["REMOTE_ADDR"];exit();}
	$fn=sprintf("/var/www/html/libs/music/player.d/playlists/%s",$_POST["plistid"]);
	$file=fopen($fn,"w");
	fwrite($file,$_POST["plistname"]);fwrite($file,"\n");
	for($i=0;$iPlay it now!";
?>