filesize() returns 0


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

I have a socket program that runs in an infinite loop, listening for connections, in this socket I have a method, that is supposed to open a file and write to the file, but I am having issues. Each call to the socket happens about once every 1.5 seconds, and then, it writes to the socket, but for some reason, filesize is always returning "0" even when the file is 1.5kb in size.
No comments posted yet

Your Answer:

Login to answer
109 Like 44 Dislike
Previous forums Next forums
Other forums

php + mysql count consecutive data
I have a database of values and I want to work out how to display them if the values match a consecu

Date Question
I'm using the TIMESTAMP() function within mysql to set the date/time for certain events. However, ho

Simple email form - Newbie
Hello all,

First time poster!

I've been asked to create a simple HTML form that submit

SAP Project Module
I have seen in the SAP Project Module,plan cost and budget are not equal and even difference is sign

HTML Email rec'd as Source Code
The code does create and send the email successfully. However, the message shows as html code and n

Change snippet to use CURDATE
I am using time() in the snippet below, I would like to use CURDATE() and have the database setup fo

Form File Upload
I've read through tons of resources and tutorials and as far as I can tell, my code is accurate, but

Delete all from a table
I can not get the following code to work. If I run the sql statement in the db it will delete all t

ScriptResource.axd gives an error on fresh install of ASP.NET Ajax 1.0
Hello,I have a fresh install of Microsoft ASP.NET Ajax 1.0. When I create an Ajax enabled website in

Question about GD library
I am trying to make an image that shows a random quote from my database.


However I want t

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