problem with this line not / with windows path but \ and you need double
Code:
echo shell_exec(\"D:/xampp/htdocs/rtmpdump.exe -r \"$rtmp\" -a \"live\" -p \"http://castalba.tv/embed.php?cid=$cid&wh=$wh&ht=$ht&r=typertv.com.pl\" --live -y \"$playpath\" - | \"D:/xampp/htdocs/vlc.exe\" - &");
try this
Code:
echo shell_exec(\"D:\\xampp\\htdocs\\rtmpdump.exe -r \"$rtmp\" -a \"live\" -p \"http://castalba.tv/embed.php?cid=$cid&wh=$wh&ht=$ht&r=typertv.com.pl\" --live -y \"$playpath\" - | \"D:\\xampp\\htdocs\\vlc.exe\" - &");