Okay, I've been able to get the php upload working just fine. I have a form whose action goes to somepage.php and it uploads and spits out the new page and everything.
What I'm looking to do is instead of displaying the somepage.php, I want to use AJAX and call a function in javasript on the page that will use some php file to upload and then send back a message about whether or not it was successful. The form action would be left blank. that message would be put in the page, without leaving the page because I'll have other ajax messages on the page.
Soooo, what gets me is that everyone says that enctype="multipart/form-data" field is important to the file uploads. If I leave the action field blank, and then let the submit call my javascript function, would that even be possible to do, or am I required use use a form acion for this?
I know what I'm saying might seem weird with how I'm wording it, but hopefully you guys will get what I'm saying. I just have a page that will be getting lots of these little status messages about different changes and I don't want it to have to go to another page.