18 lines
572 B
Batchfile
18 lines
572 B
Batchfile
@echo off
|
|
title Render HTML from PHP
|
|
|
|
del .\html\*
|
|
del .\static\style.css
|
|
del .\static\verify.js
|
|
del .\templates\*
|
|
|
|
curl -o ./html/home.html http://localhost:8080/home.php
|
|
curl -o ./html/unauthorized.html http://localhost:8080/unauthorized.php
|
|
curl -o ./html/verify.html http://localhost:8080/verify.php
|
|
|
|
curl -o ./templates/info.html.tmpl http://localhost:8080/info.php
|
|
curl -o ./templates/error.html.tmpl http://localhost:8080/error.php
|
|
|
|
curl -o ./static/verify.js http://localhost:8080/static/verify.js
|
|
curl -o ./static/style.css http://localhost:8080/static/style.css
|