PHP File Operation
<p>I am trying to create a text file with PHP in <code>fopen("test.txt","a")</code>. I have also tried with <code>fopen("test.txt","w+")</code>.</p>

<p>The text file is created but I want to check for some string in test.text, that it exist or in test.txt it will not create duplicate entry. Can someone help me out?</p>
