Thank you for your answers.
@requinix
No. I try to check the file size and i get error: "filesize(): stat failed"
I try to run a script on my server from a browser, so maybe the problem is what i thought in the first place.
I read somewhere that browsers block the access on local files, when you try to access them from a remote server (the internet)
@gizmola
As i mention above i try to run the script located on my internet server via a browser.
I don't run the script on my computer so the source you mention in not relevant in my case.