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

Keep newlines from textarea?..
I'm creating a simple encoding program, and what I want it to do is retain the newlines, as echoing

Posting to another Site?
I have software that people install.
When they install it, is there a way to make it post their d

Text to picture Generator
Hello, i have found this script and it works really good^^ But i have one problem, i would like to c

Does design fit in FPGA ?
Hi all,

I've made a large HCC-Design. Because of the program-size the compile process with th

How to give the privillege for triggers?
Hi,

How to give the privillage for triggers to particular user?

Please let me

single values into sql field
i have a form which i want the user to able to select multiple answers. But i want the answers to be

Strip Slashes Help
I've got a script that i've downloaded of the net to edit multiple fields from my sql database, and

help with multi-update
Now sure how to ask this really....
10g database if that matters.

I have a customer

Recognising Revenue daily
Hello.
Has anyone come across daily recognition of deferred income?
We want to implement R

Content-Disposition: attachment; filename=... not working as i thought it should
taken the following code from the php.net site the script is not working.

what is not happeni

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