filesize problem


Posted on 16th Feb 2014 07:03 pm by admin

i use ubuntu 9.10 and i have mountet a folder from an windows

/mount/FOLDER
/mount/FOLDER/FILE.txt
Did you know?Explore Trending and Topic pages for more stories like this.

i try to find out the size of folder : FILE.txt

PHP Warning: filesize(): stat failed for /mount/FOLDER/FISIER.txt in /home/alin/programe/instalate/workspace/aptana work/spartacus/Running/indices.php on line 26

access right:

-rwxr-xr-x 1 500 root 183567853 2009-11-09 17:38 FISIER.txt

code that generates warning
if(file_exists($fileName))
{

$fp=fopen($fileName,'r');
echo (fgets($fp)); //it writes the first line from the folder
$fileSize=filesize($fileName);//linia 26

i can't figure out why i can read from the file but the function stat and lstat returns false
No comments posted yet

Your Answer:

Login to answer
81 Like 11 Dislike
Previous forums Next forums
Other forums

Require select-option functionality in Module Pool Programming
Hi Gurus,

I am doing a development by Module Pool on Warehouse Management. For that devel

Beginner PHP code help
Hi I'm new to php but if someone could please read the question below and help it would be great.

want to add a break after a certain amount of characters
i was wondering how to add a break in a blog post after a certain amount of characters... any idea o

Problem in String replace program's output
Hi all,
I was trying to make a program which accepts a string and replaces it with another stri

for loop without same $i digits?
Hi,

Can some guru please advise how can I accomplish this with a simple for loop ?

I

Little problem with form insertion in MySQL, Please help!!!
Hi!,

I'm a little bit new with php and I have a little issue here. I created a webform to ins

Coefficient of a Restitution Hints
Hello. I was wondering if anyone can give me hints on how to write this program...

The coeffi

column name cancatenation within PL/SQL
I have a PLSQL store procedure, and the following statement is part of a subquery
fname||lnam

strptime() equivalent for php4 ?!
Greetings!

this is my first post, thank you in advance for your replies.

Well, the ti

PHP Mysql Staff Induction System
Hi there, I'm pretty new to PHP and Mysql so could really do with being pointed in the right directi

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash