|
|
|
|
![]() ![]() |
Oct 8 2007, 10:16 PM
Post
#1
|
|
|
Premium Member Group: [HOSTED] Posts: 414 Joined: 16-February 06 From: Kolkata, India Member No.: 11,322 myCENTs:43.98 |
I wanted to create a directory where I could keep my files while on the move. The main problem was the poor interface associated with a simple Web Application. Fear not, AJAX is here and this is what I have come up with:-
![]() Here goes the link to the script: http://maxotek.net/scripts/php-ajax/winExplorerImpersonator/ *** List of explorer currently supported features:-
Directory Navigation via the Address Bar Breadcrumb type Back/Next Navigation General Navigation: Go Up, Refresh, Home Scrollable + Sortable File/Folder Listing with details (Size, Type, Date Modified) File Type Detection with Custom Icon & Description Context Sensitive File & Folder Tasks which includes:-
Upload Files
Rename Move Copy Delete
Move Copy Delete Status Bar which shows the current objects, total file size in the directory and the zone. File type customization Password protection for Files adnd Folders AJAX based Image Preloading *** The List will be kept updated. A lot of effort has gone in to make it resemble Windows Explorer both in terms of look and functionality. Although, at times, certain variations had to be made. I will be eagerly waiting for the expert opionion and ideas which made the previous scripts a success. Thanx, Max. This post has been edited by turbopowerdmaxsteel: Oct 16 2007, 12:02 PM |
|
|
|
Oct 8 2007, 11:10 PM
Post
#2
|
|
|
Living at the Datacenter Group: [HOSTED] Posts: 708 Joined: 30-June 06 From: Australia Member No.: 14,219 myCENTs:76.93 |
Well done, it functions very much like the windows counterpart! It was a bit slow for me, but im assuming once all the small graphics have downloaded, it'll be quicker to run.
Just a question, are you specifying the directory to use in the script from the backend - as so you can choose the directory that you want to display? It sounds something similar to another topic i was reading just yesterday. This time, instead of making a simple html page with links - this is the graphical/AJAX alternative. Well Done, and I cannot wait to see some of the new features! -jimmy EDIT: My Internet is slow today - thus the reason everything was going slowly! This post has been edited by Jimmy89: Oct 8 2007, 11:11 PM |
|
|
|
Oct 9 2007, 01:28 AM
Post
#3
|
|
|
Premium Member Group: [HOSTED] Posts: 414 Joined: 16-February 06 From: Kolkata, India Member No.: 11,322 myCENTs:43.98 |
Yes, the PHP script sets the base folder address. I am going to add features like navigation through keyboard shortcuts and the file type configuration support which will allow to customize the file icon and description.
|
|
|
|
Oct 9 2007, 07:24 AM
Post
#4
|
|
|
Oh come on Mrs. B! Group: Members Posts: 648 Joined: 6-June 07 From: Tasmania, Australia Member No.: 22,422 |
that is soo cool
i wish i knew how to do something like that, it'll be many years more than likely before i can do something like that, lmao |
|
|
|
Oct 9 2007, 12:43 PM
Post
#5
|
|
|
Premium Member Group: [HOSTED] Posts: 438 Joined: 28-January 06 Member No.: 10,925 |
Whoa damn awesome stuff there, that would've taken you ages. Nice addition to your site too, runs fine here on my side and i have to say it does look nice and have some great functionality!
With further customisation i'd say you could get it looking and working just like the actual windows explorer (there would be some limitations of course but it's looking good so far) Great work -HellFire |
|
|
|
Oct 9 2007, 01:13 PM
Post
#6
|
|
|
Premium Member Group: [HOSTED] Posts: 414 Joined: 16-February 06 From: Kolkata, India Member No.: 11,322 myCENTs:43.98 |
It took 72 hours of marathon coding to be done. A potential vulnerability which allowed access to upper folders via ../ has been resolved. It would have compromised my hosting files, so I have disabled all paths with ../. The File type customization is now working and currently I am looking for cool file type icons. Another thing I am thinking of is to read the icons embedded in files such as EXEs.
|
|
|
|
Oct 9 2007, 04:53 PM
Post
#7
|
|
|
Premium Member Group: [HOSTED] Posts: 393 Joined: 9-March 07 From: Tucson, AZ Member No.: 20,794 |
It took 72 hours of marathon coding to be done. A potential vulnerability which allowed access to upper folders via ../ has been resolved. It would have compromised my hosting files, so I have disabled all paths with ../. The File type customization is now working and currently I am looking for cool file type icons. Another thing I am thinking of is to read the icons embedded in files such as EXEs. utilizing the open_basedir configuration option in PHP is safer as it restricts filesystem access at the runtime level so you don't have to do code checks, just handle the errors gracefully. QUOTE(http://us2.php.net/features.safe-mode) open_basedir string
Limit the files that can be opened by PHP to the specified directory-tree, including the file itself. This directive is NOT affected by whether Safe Mode is turned On or Off. When a script tries to open a file with, for example, fopen() or gzopen(), the location of the file is checked. When the file is outside the specified directory-tree, PHP will refuse to open it. All symbolic links are resolved, so it's not possible to avoid this restriction with a symlink. If the file doesn't exist then the symlink couldn't be resolved and the filename is compared to (a resolved) open_basedir. The special value . indicates that the working directory of the script will be used as the base-directory. This is, however, a little dangerous as the working directory of the script can easily be changed with chdir(). In httpd.conf, open_basedir can be turned off (e.g. for some virtual hosts) the same way as any other configuration directive with "php_admin_value open_basedir none". Under Windows, separate the directories with a semicolon. On all other systems, separate the directories with a colon. As an Apache module, open_basedir paths from parent directories are now automatically inherited. The restriction specified with open_basedir is actually a prefix, not a directory name. This means that "open_basedir = /dir/incl" also allows access to "/dir/include" and "/dir/incls" if they exist. When you want to restrict access to only the specified directory, end with a slash. For example: "open_basedir = /dir/incl/" Note: Support for multiple directories was added in 3.0.7. The default is to allow all files to be opened. |
|
|
|
Oct 10 2007, 09:44 PM
Post
#8
|
|
|
Super Member Group: [HOSTED] Posts: 805 Joined: 8-April 06 From: Lima - Peru Member No.: 12,579 myCENTs:46.87 |
I wanted to create a directory where I could keep my files while on the move. The main problem was the poor interface associated with a simple Web Application. Fear not, AJAX is here and this is what I have come up with:- ![]() Here goes the link to the script: http://maxotek.net/scripts/php-ajax/winExplorerImpersonator/ *** List of explorer currently supported features:-
Directory Navigation via the Address Bar Breadcrumb type Back/Next Navigation General Navigation: Go Up, Refresh, Home Scrollable + Sortable File/Folder Listing with details (Size, Type, Date Modified) File Type Detection with Custom Icon & Description Context Sensitive File & Folder Tasks which includes:-
Upload Files
Rename Move Copy Delete
Move Copy Delete Status Bar which shows the current objects, total file size in the directory and the zone. File type customization *** The List will be kept updated. A lot of effort has gone in to make it resemble Windows Explorer both in terms of look and functionality. Although, at times, certain variations had to be made. I will be eagerly waiting for the expert opionion and ideas which made the previous scripts a success. Thanx, Max. Congrats, this an excelent script but i have some trouble to check your site, i guess is a problem by my side. I hope that this issue will be fixed soon. Best regards, |
|
|
|
Oct 11 2007, 05:41 PM
Post
#9
|
|
|
Premium Member Group: Members Posts: 219 Joined: 13-February 07 Member No.: 20,371 |
This looks like an excellent script so far!!
There are a couple things that would be nice... It would be nice if it supported double clicking on files themselves...but it is a great script at the moment... Maybe even better if it supported dealing with some types of files (such as pdf, and image files) in certain ways without having to actually download them to your computer somewhere and then view them... (like embeded file viewers of some sort) |
|
|
|
Oct 12 2007, 03:01 AM
Post
#10
|
|
|
Super Member Group: [HOSTED] Posts: 805 Joined: 8-April 06 From: Lima - Peru Member No.: 12,579 myCENTs:46.87 |
Another excellent web-based file manager is eXtplorer, look to this topic that i just post for more information about this: eXtplorer, A PHP -and JavaScript- based File Manager.
Best regards, |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 4th December 2008 - 12:48 AM |