Path for filesize function

When I was making my website I got a problem with filesize function. I wanted to get size of file with absolute path but I have no idea how to do that. I put ‘…/data.db’ but it doesn’t work. Any ideas?
Hope you can help me.
Thanks in advance.

This is actually a relative path, not absolute: …/data.db But this path should work for filesize() function too, as far as you have your script located correctly relative to this path to data file.

Sponsor our Newsletter | Privacy Policy | Terms of Service