fixed the php exec line to properly grab eth0's ip address and set that as a variable $ip
Also added in the ability to check and kill vlc if its running and send the output to /dev/null
also the script is echoing out the variables to ensure they have been set however this should not stay this way in production