I have a sign-up page in which i am asking username,password,confirm password and upload ur resume from user.Now i am storing this resume on hard disk in a folder /htdocs/uplaodedresume/.
Now i want that if user want to see his resume like naukri.com and monster.com he can see it properly in same format as he uploaded..
In starting i used file_get_contents($row['File Name'] but this is not giving exact format it i snot picking up bold lines colours etc and giving extra unwanted symbols...
So i did google and find something about antiword http://linux.downloadatoz.com/antiword/how-to-use.html
NOw problems....
He is saying that extract files and put it into bin folder (he is working in linux but i am working in xp) so i put extratced folder into htdocs. amd tried like this
<?php
........
..........
$query="select * from employee where Username='$usr'";
$result=mysql_query($query,$con);
if ($result)
{
$row=mysql_fetch_array($result);
$content = shell_exec('/antiword'.$row['File Name']);
}
?>
<html>
<body bgcolor="black">
<table align="center">
<tr>
<td>Resume</td>
<td><textarea rows="50" cols="70" name="resume" ><?php echo $content; ?></textarea></td>
</tr>
</table>
</body>
</html>
But by doing so i am not able to display even a single character.Why so... am i putting extarted flder at wrong path or i am picking wrong antiword adress what is going on pplz tell me
In database i have stored file name(full path) file size file type etc.