I don't wanna use ftp, and this is for 2 major reasons:
1) not all servers support ftp, so I'm only limited to a host which support ftp uploading.

2) Other people will use the script that I'm creating (The file uploading is meant for sending information to the server). It will require me to give them the user/password for the ftp server (it will be inside the script). Giving a free access to the ftp is not a good idea at all.

Thanks for trying.