diff options
Diffstat (limited to 'upload-msword.php')
-rw-r--r-- | upload-msword.php | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/upload-msword.php b/upload-msword.php index b234381..f2d93bf 100644 --- a/upload-msword.php +++ b/upload-msword.php @@ -1,6 +1,10 @@ <?php -header('Content-type: text/html; charset=utf-8'); -$dir = '/home/luke/j1-uploads'; +require('config.php'); +global $dir; + +global $title; +$title = 'Copy/Paste quotes from MS Word'; +include('header.php'); $set = isset($_POST['word_data']) && isset($_POST['filename']); if ($set) { @@ -23,9 +27,13 @@ if ($set) { } else { ?> <form method="post" action="upload-msword.php"> + Filename: <input type="text" name="filename" /> + Text: <textarea name="word_data"></textarea> <input type="submit" value="upload" /> </form> <?php -}
\ No newline at end of file +} + +include('footer.php'); |