The directories or chmod to 777 and I'm not allowing only certain files to be uploaded. I was going to add that code later. My code used to work on both my pc and the server the site is on, but now is only working with .txt files for some reason. I'm pretty sure I did the code right, but I'm having trouble figureing out why the script is only uploading .txt files.😕
Below is the code I am using.
I figured out the problem finally and my script works again. The problem was with a max post value being set in the form which was keeping files from being uploaded. Thanks for everybody's help.
😃