I give up... I guess I speak a different language or something.
Didn't your reply to my first post say
"I know... Why do you think I asked for help? Duh..."
confirming that you know that fopen() cannot open files that are not on the same machine? Hello!
The UPLOADED file is stored on disk, and fopen cannot open files on another filesystem. So which disk do you think the uploaded file is store on??
Well just to avoid any more confusion; it's the server's disk.
The method used in the article works, so use it!
PS Go back to the PHP manual and read the bit about handling file uploads.
Then read the bit about fopen().
Then try implementing the article again, WITHOUT changing it.
Thread ends.