User409696431 posted
Your question needs clarification.
I want to make a file upload system. Letting a user upload files to your server from their machine is well documented.
But the user will upload files to my site but will write their site in textbox and upload the file. The addition here is that you want to have the user
write their site in a textbox, which they can certainly do - if they have a site. Why assume they do? Or they may have multiple sites. The purpose here is unclear.
Can I save the files by saving the database? No, you can't save the files by saving the database. If you meant, can you save
the files inside the database, yes you can, if you have a reason to do so. This is also well documented.
Is it possible to access that file as www.usernamesite.com / filename No, if you mean
www.usernamesite.com is the user's site. The only way you could access a file that way is if it were stored on the user's site in that location, and that would be completely independent of anything you would do
(and again, only be possible if the user had a site).