diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-09-01 21:09:56 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-09-01 21:09:56 -0400 |
commit | 68056e6d92285e184518bc8c7130bb49767623f3 (patch) | |
tree | c2a24370d8d132f85fb929580078adaf49a3c5fb /upload-org.php | |
parent | 116af031a42db23e836633d5298a9595ad0803c7 (diff) |
Move config into one config.php file, add an index file, spit out complete HTML files, use CSSHEADmaster
Diffstat (limited to 'upload-org.php')
-rw-r--r-- | upload-org.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/upload-org.php b/upload-org.php index 40f403f..e752232 100644 --- a/upload-org.php +++ b/upload-org.php @@ -1,5 +1,10 @@ <?php -$dir = '/home/luke/j1-uploads/'; +require('config.php'); +global $dir; + +global $title; +$title = 'Copy/Paste quotes from Org-Mode'; +include('header.php'); $set = isset($_POST['org_data']) && isset($_POST['filename']); if ($set) { @@ -11,8 +16,12 @@ if ($set) { } else { ?> <form method="post" action="upload-msword.php"> + Filename: <input type="text" name="filename" /> + Text: <textarea name="org_data"></textarea> </form> <?php } + +include('footer.php'); |