How can i get the content of uploaded file in php?
<p>I can upload a file by using html file type and than i store that file information to mysql db. It's my code=></p>

<pre><code>$upload = wp_upload_bits($_FILES["upload_file"]["name"], null, file_get_contents($_FILES["upload_file"]["tmp_name"]));
$document_name = $_FILES['upload_file']['name'];
$document_link = $upload['url'];
//and DB Operations in here..(I store to db filename,date,filelink etc.)
</code></pre>

<p>My problem is, i can't read the file content to store it to db. Because i will do search in file content. So i must read content of file. Briefly how can i read a content of a file like pdf, doc or etc. from url such as <a href="http://...../uploads/exampleFile.docx" rel="nofollow">http://...../uploads/exampleFile.docx</a>?</p>
