@echo off
cd /d "%~dp0"
echo.
echo  mocker27.com yerel sunucu
echo  Tarayici: http://localhost:8080/
echo  Durdurmak icin bu pencerede Ctrl+C
echo.
for /f "tokens=5" %%a in ('netstat -ano ^| findstr ":8080.*LISTENING"') do taskkill /PID %%a /F >nul 2>&1
timeout /t 1 /nobreak >nul
start "" "http://localhost:8080/"
php -S localhost:8080 router.php
