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

Displaying image from database
Hi,

I've got a site where that's got a database behind it. Currently it has loads of items in

Php If in MySql query (hiding labels if a field is empty)
Okay, I've been trying to do this for a while, and I'm finally going to ask for help so I can get th

php slowing my site?
Hi all,

I think that one of the reasons that my site doesn't work fast is that the code is ve

Why doesn't this work? (SSH2)
This is my script:

Code: <?php
$connection = ssh2_connect('213.251.167.109', 22);

Passing JS to PHP
So I have the following
Code: <?php
getdetails(?><script type="text/

Working with Global Variables
hi, I'm not really sure why the following code is returning a "Call to a member function getBan

Hotlinking Picasa as the image folder of a website
Hi there PHP freaks, I would like to create a private album in Picasa to use it as the image folder

UL and LI Add Form
The idea I want here is when the user click on a character name from the drop down select bar at the

Had a simple form script that suddenly stopped working
It was made about a year ago and had been working fine. Last time it was known to work for sure was

PHP form authentication
Hi guys,

what am trying to achieve is this: Whenever a user tries to login to my website, an

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