<?php
echo '
';
if ($_POST['sent'] == '1')
{
upload_file('/'.$newpath.'/'.$_FILES['uploadfile']['name'], $uploadfile, FTP_BINARY);
echo $_FILES['userfile']['error'];
echo '</p>';
header('Location: ' . $_SERVER['REQUEST_URI']);
echo '[img]line.png[/img]';
echo '<table class="copy">';
echo '<tr><td class="ver">LittleWebFTP
Ver.: 1.0</td><td class="copy">Copyright © 2005 Michael Puff
Homepage: [
url="http://www.luckie-online.de"]http://www.luckie-online.de[/
url]</td></tr>';
echo '</table>';
echo '</body>';
echo '</
html>';
exit;
}
else if ($_POST['sent'] == '2')
{
echo 'Delete: '.$deletefile;
echo '</p>';
header('Location: ' . $_SERVER['REQUEST_URI']);
echo '[img]line.png[/img]';
echo '<table class="copy">';
echo '<tr><td class="ver">LittleWebFTP
Ver.: 1.0</td><td class="copy">Copyright © 2005 Michael Puff
Homepage: [
url="http://www.luckie-online.de"]http://www.luckie-online.de[/
url]</td></tr>';
echo '</table>';
echo '</body>';
echo '</
html>';
exit;
}
?>
[img]line.png[/img]
<table class="copy">
<tr><td class="ver">LittleWebFTP
Ver.: 1.0</td><td class="copy">Copyright © 2005 Michael Puff
Homepage: [
url="http://www.luckie-online.de"]http://www.luckie-online.de[/
url]</td></tr>
</table>
</body>
</
html>