|
<html>
<head>
<title>A BASIC HTML FORM</title>
<?PHP
$brfile = $_POST['brfile'];
$localfile = $_POST['localfile'];
print ($brfile);
?>
</head>
<?php
do exec("wget -O{$localfile} \"{$brfile}\" > /dev/null &")
?>
Parse error: syntax error, unexpected $end, expecting T_WHILE in wget.php on line 18
Sorry guys, thats the error I get. Remember, complete noob. I also added localfile to br.html to get that part working. Also tried it using wget -o and still didn't work.
|