= 1024) { $value = round($size_in_bytes/1024*10)/10; return ($round) ? thank you soo much. It looks like Wilds already thought of that, but the code was not working right. Back in 2008 we created the original version of our popular directory listing script. #listing a { display:block; padding: 2px 5px 2px 5px; font-size:small; color: #cc6666; font-family:Arial, Helvetica, sans-serif; text-decoration:none; width:768px; text-align:right; #listing a:hover { background-color:#ffcccc; }, #listing a strong { width: 300px; float:left; cursor:hand; cursor:pointer; text-align:left; }, #listing a em { float: left; width: 275px; text-align:right; cursor:hand; cursor:pointer; }, #listing a span { position: absolute; margin-left: -151px; margin-top: -2px; }, #upload { border: 1px solid #ff9999; display:block; margin-top: 10px; text-align:center; font-size:small; color: #cc6666; font-family:Arial, Helvetica, sans-serif; text-decoration:none; width:777px; background-color: #fff; }. where should i put those files? Can I add this script to a page with restricted access so they can delete old files. That was very useful. Could the code be added to the script, so that a “view online” link is added to the file list? Replace: Hello, I get this without modifying the code at all: Anybody use this script on DREAMHOST with large (100meg+) files? I also really need it to sort by date modified by default . // $myDirectory=opendir(“.”); the specific step by step instruction will realy help. If there are files in a directory with more than one dot in the full file name like "whatever.date.pdf" - these files are not shown. Ok perfect im glad you got it. Sorry for all the multiple comment posts, but I hope it may be helpful and/or interesting to someone! i would liketo create a link to show the parent folder… but not allow to show hidden files.. like the.htaccess .index.php….. Is this question already solved? Any ideas? Neat Code works like a charm . 4. I never did see an answer to my question regarding this script. This is an advanced directory script through which you can manage customers, listings, create categories, manage words, etc. What should change? Replace: Thank you so much, Jonathan! Quote I’m trying to build a site that allows different chefs to upload their menus as they change. Related question – is there any way to get (relatively) the same effects without using PHP (or any other server-side scripting)? The second script provided by Wilds, which is in italian, works great for displaying another directory in the proper CSS style, but the filesize and date modified does not work properly. Please ignore my question. When showing the sub-directories they have an "/" on the end of them. But there are few problems. I would love to reverse that so we DON’T show php files. I’m trying the last zip posted by the original author, https://css-tricks.com/examples/DisplayDirectoryContents.zip, I think that from 2012. For some reason though I can't get it to work on files larger than about 4Mb...even on files that I've confirmed work. or "Tricks". I placed a draft for you to review on,http://www.jjmcguire-dev.com/project-view-draft.php?project_id=1. You saved my *ss! Brilliant. I ended up getting your script to work however it conflicted with existing PHP code (which I had to strip out). Im learner for php. If I use zeyad’s code above, I get a page without any files. How would I go about putting a working delete button next to each file listed? position: relative; We have therefore added a $memorylimit variable to the configuration section, so you can assign more memory if you need it! Would be very nice if you could check this. I’ve manage to add a delete.png image at the end of each row. sort($dirArray, “cmp”); How can you password protect the initial listings? Just as a heads up, split() is deprecated in php5.3 so you will want to modify like so: It worked for me. sucses edited file sort by date modified My site mainly has PDF files. Really excellent. #uploadtitle { background-color: #ffe9ef; padding: 2px 5px 2px 5px; border-bottom: 1px solid #ff9999; #copy { width: 600px; margin-left:auto; margin-right:auto; text-align:center; font-size:14px; font-weight:bold; color: #666666; font-family:Arial, Helvetica, sans-serif; }, text-decoration: underline; color: #666666; }. Anyone knows how to keep the “current directory” and “Parent Directory” shown at all times? Now there’s just one more thing left – how can I add a “download” button which forces the download instead of opening it in the browser? Very cool. So just added a “$myDir” variable and added it where there is the “$dirArray[$index])” except for the “$name” variable .. but only get the style display page with out any results. But I would appreciate if it included a “delete” button in which i can delete uploaded files. No solutions For example I would like a different icon for my photos directory, my video directory my zip directory etc.. Here are the icons I used, they’re great for everything! I had to put the files in each sub-directory to get it to work right. If not how can it be done. Thank you!! The ability to upload multiple files and restrict the allowed file-types. Business Directory & Listing is an perfect Responsive HTML5 theme for creating directory and listings pages. I believe the error is because it is printing out the parent directory folder (and its parent, too), which have no filesize. the icons of the files show up in the middle of the previous row. To download the updated script please click here. I second the "pagination" motion, it'd be nice for directories with a big number of files. Eg. It only displays the headers on my page… no file listings, and there are plenty of files in the directory. 2. the script is working in my website, but the icons are not working. because in this page post, im just see this link downloadhttps://www.evoluted.net/assets/thinktank/wp-content/uploads/2011/02/dirlistingv3.zip, so where i can get new version for this script :D thanks my bro :D, hi bro :D thanks bro...it's now really new version for listing script. Html or. I'd like the script to show the files in multiple directories while still giving people access to only their directories. great script, but i can’t figure out how i can change the folder. I too would love to change it so the default sort is ascending. I did look at the "asc" and "desc", but after switching between those, nothing happened still.. please help. Is there any way to only open files in a new tab? I have a directory with several subfolders. Is there any way to load a directory from an external domain? Great people please i want to embed a pdf viewer in my php application, i added the code from the get file names section of the php code i got from this site its not displaying he documents For example: it's currently showing /0figment0/mods (The true path is mcmodders/0figment0/mods) But I also need it to display the contents of /ikeelyou/mods and later on more users as well. Not too familiar with code like this, so could anyone point me to the place where the date and time is being displayed so I can correct it? I’m afraid that I will be able to see the file that I hid later in that folder. Features I’m just learning PHP, but I think a line to set the condition if there is no suffix, don’t include it might be fairly easy… for someone who is more fluent in PHP, anyway :), I’m trying to figure it out, but realized that setting a condition for not printing a file without a “.” in the string won’t work, because the “files” that are causing the errors don’t actually exist – it’s showing the parent and “grandparent” directories as if they were files IN the directory – /newsletters/archives/archives and /newsletters/archives/newsletters. }. link back the same page by using Roca Patron Anejo Price,
Body Shop Eye Cream Drops Of Light,
At The Beach Bath And Body Works,
Pumpkin Pie Squares Graham Cracker Crust,
True Indeed Meaning,
How To Pronounce Glitter,
Performance Kitchen Canada,
Single Room For Rent In Frankfurt,
" />
= 1024) { $value = round($size_in_bytes/1024*10)/10; return ($round) ? thank you soo much. It looks like Wilds already thought of that, but the code was not working right. Back in 2008 we created the original version of our popular directory listing script. #listing a { display:block; padding: 2px 5px 2px 5px; font-size:small; color: #cc6666; font-family:Arial, Helvetica, sans-serif; text-decoration:none; width:768px; text-align:right; #listing a:hover { background-color:#ffcccc; }, #listing a strong { width: 300px; float:left; cursor:hand; cursor:pointer; text-align:left; }, #listing a em { float: left; width: 275px; text-align:right; cursor:hand; cursor:pointer; }, #listing a span { position: absolute; margin-left: -151px; margin-top: -2px; }, #upload { border: 1px solid #ff9999; display:block; margin-top: 10px; text-align:center; font-size:small; color: #cc6666; font-family:Arial, Helvetica, sans-serif; text-decoration:none; width:777px; background-color: #fff; }. where should i put those files? Can I add this script to a page with restricted access so they can delete old files. That was very useful. Could the code be added to the script, so that a “view online” link is added to the file list? Replace: Hello, I get this without modifying the code at all: Anybody use this script on DREAMHOST with large (100meg+) files? I also really need it to sort by date modified by default . // $myDirectory=opendir(“.”); the specific step by step instruction will realy help. If there are files in a directory with more than one dot in the full file name like "whatever.date.pdf" - these files are not shown. Ok perfect im glad you got it. Sorry for all the multiple comment posts, but I hope it may be helpful and/or interesting to someone! i would liketo create a link to show the parent folder… but not allow to show hidden files.. like the.htaccess .index.php….. Is this question already solved? Any ideas? Neat Code works like a charm . 4. I never did see an answer to my question regarding this script. This is an advanced directory script through which you can manage customers, listings, create categories, manage words, etc. What should change? Replace: Thank you so much, Jonathan! Quote I’m trying to build a site that allows different chefs to upload their menus as they change. Related question – is there any way to get (relatively) the same effects without using PHP (or any other server-side scripting)? The second script provided by Wilds, which is in italian, works great for displaying another directory in the proper CSS style, but the filesize and date modified does not work properly. Please ignore my question. When showing the sub-directories they have an "/" on the end of them. But there are few problems. I would love to reverse that so we DON’T show php files. I’m trying the last zip posted by the original author, https://css-tricks.com/examples/DisplayDirectoryContents.zip, I think that from 2012. For some reason though I can't get it to work on files larger than about 4Mb...even on files that I've confirmed work. or "Tricks". I placed a draft for you to review on,http://www.jjmcguire-dev.com/project-view-draft.php?project_id=1. You saved my *ss! Brilliant. I ended up getting your script to work however it conflicted with existing PHP code (which I had to strip out). Im learner for php. If I use zeyad’s code above, I get a page without any files. How would I go about putting a working delete button next to each file listed? position: relative; We have therefore added a $memorylimit variable to the configuration section, so you can assign more memory if you need it! Would be very nice if you could check this. I’ve manage to add a delete.png image at the end of each row. sort($dirArray, “cmp”); How can you password protect the initial listings? Just as a heads up, split() is deprecated in php5.3 so you will want to modify like so: It worked for me. sucses edited file sort by date modified My site mainly has PDF files. Really excellent. #uploadtitle { background-color: #ffe9ef; padding: 2px 5px 2px 5px; border-bottom: 1px solid #ff9999; #copy { width: 600px; margin-left:auto; margin-right:auto; text-align:center; font-size:14px; font-weight:bold; color: #666666; font-family:Arial, Helvetica, sans-serif; }, text-decoration: underline; color: #666666; }. Anyone knows how to keep the “current directory” and “Parent Directory” shown at all times? Now there’s just one more thing left – how can I add a “download” button which forces the download instead of opening it in the browser? Very cool. So just added a “$myDir” variable and added it where there is the “$dirArray[$index])” except for the “$name” variable .. but only get the style display page with out any results. But I would appreciate if it included a “delete” button in which i can delete uploaded files. No solutions For example I would like a different icon for my photos directory, my video directory my zip directory etc.. Here are the icons I used, they’re great for everything! I had to put the files in each sub-directory to get it to work right. If not how can it be done. Thank you!! The ability to upload multiple files and restrict the allowed file-types. Business Directory & Listing is an perfect Responsive HTML5 theme for creating directory and listings pages. I believe the error is because it is printing out the parent directory folder (and its parent, too), which have no filesize. the icons of the files show up in the middle of the previous row. To download the updated script please click here. I second the "pagination" motion, it'd be nice for directories with a big number of files. Eg. It only displays the headers on my page… no file listings, and there are plenty of files in the directory. 2. the script is working in my website, but the icons are not working. because in this page post, im just see this link downloadhttps://www.evoluted.net/assets/thinktank/wp-content/uploads/2011/02/dirlistingv3.zip, so where i can get new version for this script :D thanks my bro :D, hi bro :D thanks bro...it's now really new version for listing script. Html or. I'd like the script to show the files in multiple directories while still giving people access to only their directories. great script, but i can’t figure out how i can change the folder. I too would love to change it so the default sort is ascending. I did look at the "asc" and "desc", but after switching between those, nothing happened still.. please help. Is there any way to only open files in a new tab? I have a directory with several subfolders. Is there any way to load a directory from an external domain? Great people please i want to embed a pdf viewer in my php application, i added the code from the get file names section of the php code i got from this site its not displaying he documents For example: it's currently showing /0figment0/mods (The true path is mcmodders/0figment0/mods) But I also need it to display the contents of /ikeelyou/mods and later on more users as well. Not too familiar with code like this, so could anyone point me to the place where the date and time is being displayed so I can correct it? I’m afraid that I will be able to see the file that I hid later in that folder. Features I’m just learning PHP, but I think a line to set the condition if there is no suffix, don’t include it might be fairly easy… for someone who is more fluent in PHP, anyway :), I’m trying to figure it out, but realized that setting a condition for not printing a file without a “.” in the string won’t work, because the “files” that are causing the errors don’t actually exist – it’s showing the parent and “grandparent” directories as if they were files IN the directory – /newsletters/archives/archives and /newsletters/archives/newsletters. }. link back the same page by using Roca Patron Anejo Price,
Body Shop Eye Cream Drops Of Light,
At The Beach Bath And Body Works,
Pumpkin Pie Squares Graham Cracker Crust,
True Indeed Meaning,
How To Pronounce Glitter,
Performance Kitchen Canada,
Single Room For Rent In Frankfurt,
" />
substr($name, 0, 25) . So for a 75 character file name, my full settings are given below: h1 { color: #6699FF; font-family: Arial, Helvetica, sans-serif; font-weight:bold; font-size: medium; margin: 0 0 10px 8px; padding:0; }. this is warning : Okay, thanks. 'Mb' : "{$value} MB"; } else if ($size_in_bytes >= 1024) { $value = round($size_in_bytes/1024*10)/10; return ($round) ? thank you soo much. It looks like Wilds already thought of that, but the code was not working right. Back in 2008 we created the original version of our popular directory listing script. #listing a { display:block; padding: 2px 5px 2px 5px; font-size:small; color: #cc6666; font-family:Arial, Helvetica, sans-serif; text-decoration:none; width:768px; text-align:right; #listing a:hover { background-color:#ffcccc; }, #listing a strong { width: 300px; float:left; cursor:hand; cursor:pointer; text-align:left; }, #listing a em { float: left; width: 275px; text-align:right; cursor:hand; cursor:pointer; }, #listing a span { position: absolute; margin-left: -151px; margin-top: -2px; }, #upload { border: 1px solid #ff9999; display:block; margin-top: 10px; text-align:center; font-size:small; color: #cc6666; font-family:Arial, Helvetica, sans-serif; text-decoration:none; width:777px; background-color: #fff; }. where should i put those files? Can I add this script to a page with restricted access so they can delete old files. That was very useful. Could the code be added to the script, so that a “view online” link is added to the file list? Replace: Hello, I get this without modifying the code at all: Anybody use this script on DREAMHOST with large (100meg+) files? I also really need it to sort by date modified by default . // $myDirectory=opendir(“.”); the specific step by step instruction will realy help. If there are files in a directory with more than one dot in the full file name like "whatever.date.pdf" - these files are not shown. Ok perfect im glad you got it. Sorry for all the multiple comment posts, but I hope it may be helpful and/or interesting to someone! i would liketo create a link to show the parent folder… but not allow to show hidden files.. like the.htaccess .index.php….. Is this question already solved? Any ideas? Neat Code works like a charm . 4. I never did see an answer to my question regarding this script. This is an advanced directory script through which you can manage customers, listings, create categories, manage words, etc. What should change? Replace: Thank you so much, Jonathan! Quote I’m trying to build a site that allows different chefs to upload their menus as they change. Related question – is there any way to get (relatively) the same effects without using PHP (or any other server-side scripting)? The second script provided by Wilds, which is in italian, works great for displaying another directory in the proper CSS style, but the filesize and date modified does not work properly. Please ignore my question. When showing the sub-directories they have an "/" on the end of them. But there are few problems. I would love to reverse that so we DON’T show php files. I’m trying the last zip posted by the original author, https://css-tricks.com/examples/DisplayDirectoryContents.zip, I think that from 2012. For some reason though I can't get it to work on files larger than about 4Mb...even on files that I've confirmed work. or "Tricks". I placed a draft for you to review on,http://www.jjmcguire-dev.com/project-view-draft.php?project_id=1. You saved my *ss! Brilliant. I ended up getting your script to work however it conflicted with existing PHP code (which I had to strip out). Im learner for php. If I use zeyad’s code above, I get a page without any files. How would I go about putting a working delete button next to each file listed? position: relative; We have therefore added a $memorylimit variable to the configuration section, so you can assign more memory if you need it! Would be very nice if you could check this. I’ve manage to add a delete.png image at the end of each row. sort($dirArray, “cmp”); How can you password protect the initial listings? Just as a heads up, split() is deprecated in php5.3 so you will want to modify like so: It worked for me. sucses edited file sort by date modified My site mainly has PDF files. Really excellent. #uploadtitle { background-color: #ffe9ef; padding: 2px 5px 2px 5px; border-bottom: 1px solid #ff9999; #copy { width: 600px; margin-left:auto; margin-right:auto; text-align:center; font-size:14px; font-weight:bold; color: #666666; font-family:Arial, Helvetica, sans-serif; }, text-decoration: underline; color: #666666; }. Anyone knows how to keep the “current directory” and “Parent Directory” shown at all times? Now there’s just one more thing left – how can I add a “download” button which forces the download instead of opening it in the browser? Very cool. So just added a “$myDir” variable and added it where there is the “$dirArray[$index])” except for the “$name” variable .. but only get the style display page with out any results. But I would appreciate if it included a “delete” button in which i can delete uploaded files. No solutions For example I would like a different icon for my photos directory, my video directory my zip directory etc.. Here are the icons I used, they’re great for everything! I had to put the files in each sub-directory to get it to work right. If not how can it be done. Thank you!! The ability to upload multiple files and restrict the allowed file-types. Business Directory & Listing is an perfect Responsive HTML5 theme for creating directory and listings pages. I believe the error is because it is printing out the parent directory folder (and its parent, too), which have no filesize. the icons of the files show up in the middle of the previous row. To download the updated script please click here. I second the "pagination" motion, it'd be nice for directories with a big number of files. Eg. It only displays the headers on my page… no file listings, and there are plenty of files in the directory. 2. the script is working in my website, but the icons are not working. because in this page post, im just see this link downloadhttps://www.evoluted.net/assets/thinktank/wp-content/uploads/2011/02/dirlistingv3.zip, so where i can get new version for this script :D thanks my bro :D, hi bro :D thanks bro...it's now really new version for listing script. Html or. I'd like the script to show the files in multiple directories while still giving people access to only their directories. great script, but i can’t figure out how i can change the folder. I too would love to change it so the default sort is ascending. I did look at the "asc" and "desc", but after switching between those, nothing happened still.. please help. Is there any way to only open files in a new tab? I have a directory with several subfolders. Is there any way to load a directory from an external domain? Great people please i want to embed a pdf viewer in my php application, i added the code from the get file names section of the php code i got from this site its not displaying he documents For example: it's currently showing /0figment0/mods (The true path is mcmodders/0figment0/mods) But I also need it to display the contents of /ikeelyou/mods and later on more users as well. Not too familiar with code like this, so could anyone point me to the place where the date and time is being displayed so I can correct it? I’m afraid that I will be able to see the file that I hid later in that folder. Features I’m just learning PHP, but I think a line to set the condition if there is no suffix, don’t include it might be fairly easy… for someone who is more fluent in PHP, anyway :), I’m trying to figure it out, but realized that setting a condition for not printing a file without a “.” in the string won’t work, because the “files” that are causing the errors don’t actually exist – it’s showing the parent and “grandparent” directories as if they were files IN the directory – /newsletters/archives/archives and /newsletters/archives/newsletters. }. link back the same page by using