如何在PHP中上传具有特定所有者的文件?

(My project is to upload an image file using PHP code and retrieve that image on HTML page.)

I was trying to upload an image file using PHP code to my college server, but when i try to do so it saves under "www-data" ownership. I cannot retrieve the uploaded file on my html page because it is not under my ownership ie. "z1695231".

I tried chown,chmod and chgrp functions to change the ownership, i was unable to do so, coz i don't have permissions to do so on my college server. Is there any solution to my Project?

Or

Is there any other way to do it?