I am using htaccess to make it possible for dynamic user pages such as www.site.com/username. Everything goes through index.php and I capture the variables accordingly. Everything works. Forms work all but file uploads. I can't get it to even post. However when i check to see if the submit button is submitted, it will work. All my code worked fine before I did the rewrite to go live and now I'll have to do another 4 months of coding to get it working right. Any help would be much appreciated. I will even pay someone to help me get this straightened out.
It might be helpful to post the rewrite code that you used. In particular, if the syntax is not absolutely correct and you get an unintended external redirect instead of an internal rewrite, you may run smack into a problem cited in the HTTP/1.1 specification:
If the 302 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.
In other words, 302 redirects are not usually allowed for POSTs.
Well, GET and POST are two entirely different HTTP methods, and your script supports GET, but does not appear to support POST. (To be clear, GET is used by a client to provide data to a script by attaching a query-string to a URL, while POST is used by the client to send the data in the HTTP message-body itself -- In simple terms, the client POSTs (sends) a "page" of data to the server.)
So how does your script support POST? Do you have a different "upload" script, or does the current script handle POSTs as well?
mod_rewrite can use a RewriteCond to test the HTTP method and rewrite to different scripts based on the HTTP method used by the client, if that might help you.