I don't even see where in the script you would have an "upload" functionality. Maybe you should cut down the script to 10 or 20 lines and start working from there. Also this HTML:
...
<form action='/home/warp/userdata/$companyrepository' method='post' en
+ctype='multipart/form-data'>
...
is quite unlikely to work, unless your webserver actually serves a directory /home/warp/userdata/..., which very few do by default. |