read and write from the same file
Posted: Sun Feb 13, 2011 4:04 am
Hi Guys,
Please help me in this Scenario:
I have a php script that is reading a file, at the same time there is a java program writing to that file.
How could I make the php script reading the file without locking it giving the Java an ability to write to this file or rename it without any problems ??
Please help me in this Scenario:
I have a php script that is reading a file, at the same time there is a java program writing to that file.
How could I make the php script reading the file without locking it giving the Java an ability to write to this file or rename it without any problems ??