added initial logic framwork, needs to be tested
updated README
updated README.md with function call details
replaced hardocded path with getcwd()
removed accidentally-added .swp files
added initial upload script
added .swp to gitignore
no php errors in output after changing file permissions

chowned /var/tmp/ to alexcannon, this is the upload_tmp_dir
chowned ~/Sites/ to alexcannon
chmodded 0755 /var/tmp
chmodded 0755 ~/Sites

http://stackoverflow.com/questions/8103860/move-uploaded-file-gives-failed-to-open-stream-permission-denied-error-after

But the file is still not uploaded, only output is:
Sorry, there was an error uploading your file.
readded ArrayQuery as a submodule
added *.swo to .gitignore
fixed permissions issue for file uploads

php whoami is _www so I did:

sudo chown _www ~/Sites/Lux/FileUpload/uploads/ # the upload target dir
sudo chmod 0755 ~/Sites/Lux/FileUpload/uploads/

note that
    (1) the tmp_upload dir is still the sytem default: /var/tmp/
    (2) /var/tmp permissions are set to 1777 and the dir is owned by
        alexcannon

also added output msgs to upload.php
adds uploaded file to dir accding to filetype
deleted uploaded pics
overwrite yes/no functionality implemented
upload now inserts into db
removed overwite form field, added rename field
minor edits
added Lux.pem auth file
uploaded file named with mongo _id
renamed core dir to Core