dynamic database? content management system?

i’m not sure what i’m seeking. maybe someone in existence can tell me.

i essentially have to simulate a your windows program file explorer window with a div on a page in the website. i need to be able to upload. doc files on the server and allow users to examine a file/folder tree that’s live, letting consumers open, view, and save those records.

can i do this with php and mysql how could i create a comparable visual interface that will windows

possibly there is a javascript method

i need to be able to simply upload these kinds of. doc files in to a specific folder, then have a specific html web site read and display the content of their folder, with users capable of interact, view, and download them.

if anyone offers any examples they might link me to help, i could can some reverse engineering pinpoint how best to achieve this.

thanks a lot!
-averan

i realize php can complete listing directory timber and upload data. As a topic of fact, php can do many powerful report system commands.

check it out.
http: //us2. php. net/manual/en/ref. filesystem. php

you’ll probably want javascript also will stay dont have to contact the server unnecesarry for items like confirming to rub out a file.

if you want a live update for the directory tree, you have got to do several background contacting with the server (unless you should reload the submission site tree every so and thus interval).

for imitating the your windows program explorer looks, that’s as long as the HTML plus CSS.

everyone, hope this will help

This is code that we made for index listing, you may want to look at it. And for wiping out, you use unlink().

PHP:


< php
function  print_cwd_details() 
$current_dir  get_cwd(); //or  one thing,   forgot.   this  use  to  be  a  full  script  but  I  modified  it  more
$handle  opendir($current_dir);
echo 
"Contents  of  $current_dir: < br> \n";
while  (
false  ! ==  ($folder  readdir($handle))) 
  if  (
is_dir($folder)) 
       
$size  disk_total_space($current_dir)-disk_free_space($current_dir);
        echo 
"Folder: < a  href='$folder/'> $folder< /a> ($size  bytes)< br> \n";
 

rewinddir($handle);
while  (
false  ! ==  ($file  readdir($handle))) 
if  (!
is_dir($file)) 
$size  filesize($file);
if  (
$size  <   1024
       
$type  "bytes";
else  if  (
$size  <   1024*1024
       
$type  "KB";
       
$size/=1024;
else  if  (
$size  <   1024*1024*1024
       
$type  "MB"<

This entry was posted in Web Design. Bookmark the permalink.

Random Posts

Leave a Reply

Your email address will not be published. Required fields are marked *