Dear All,
My requirements are
1) to be able to login from web page as one of the existing linux users. This part i have completed already.
2) Then logged in user should be able to browse the home directory recursively and able to select a file and grab the filepath into a textbox.
scenario:
on server A:=> i have two files in my document root viz., index.html and browse.php
<html>
<head>
<title>File Browser</title>
</head>
<body>
<form action=”browse.php” method=”post”>
<input type=”textbox” name=”filename” id=”filename” />
<br />
<input type=”submit” value=”browse” />
</form>
</body>
</html>
Now my requirement is that when i click the browse button, in a new fixed size window all files should be appear with option “select file” and “cancel” button. So that I can browse any file and select it.
Similar to html file tag but my browse button should open the home directory of the server(i.e. /home/username)
I need a quick response. So Please please help me out. ?