How to write a PHP coding to list out all files and directories as links to them?
Q. How to write a PHP coding to list out all files and directories as links to them? This is somewhat similar to some index pages. When new file or folder is added to the directory, HTML page should display the newly created file/folder together with previous ones after it is being refreshed. (prefer in alphabatical order) How to achieve this sort of functionality in PHP? Please provide sample coding as well. (and any references) Thanks.
Asked by kr16kr - Thu Mar 19 15:08:05 2009 - - 1 Answers - 2 Comments

A. // get array of all files and directories in the current directory (it is sorted alphabetically by default) $dir_entries = scandir(dirname(__FILE__) ); // for PHP 5.3+, use __DIR__ instead of dirname(__FILE__) // split the array of files and directories into two arrays, one containing files and the other directories $dir_files = array(); $dir_directories = array(); foreach($dir_entries as $dir_entry) { if(is_dir($dir_entry)) { array_push($dir_directori es, $dir_entry); } else { array_push($dir_files, $dir_entry); } } // print directories foreach($dir_directories as $dir_directory) { // don't print current and parent directories if($dir_directory == '.' or $dir_directory == '..') { continue; } echo "[cont.]
Answered by Vladimir Kornea - Fri Mar 20 17:09:25 2009

What are the directories needed for a Motorola ROKR to recognize a 1gb Scandisk Microsd card?
Q. I deleted everything on my microsd card to free up some space assuming that it would created the folders again when I inserted it back in my phone. Now it tells me it's unformatted. What are the directories I need for it to recognize?
Asked by Max Georges - Sat Apr 11 21:31:25 2009 - - 1 Answers - 0 Comments

A. while the card is in your phone go to the menu and then to where the memory card options are and then reformat it.
Answered by =) (= - Sat Apr 11 21:41:20 2009

How would I restrict users access on a Win 2000 domain to certain directories during off hours?
Q. I need to restrict access to a handful of directories during evening hours, but still allow users access to other directories. Restricting login hours with GPO seems to be an all or nothing proposal and will not work for what we are doing. Is there another possible solution?
Asked by DAVID H - Wed Oct 8 15:37:45 2008 - - 2 Answers - 0 Comments

A. There is no facility in Windows 2000 server that allows you to do this. I am pretty sure there are add-on tools that allow this. One way to do this might be to run a scheduled job that runs a script that resets the "hidden" attribute on the directories at a certain time each night, then reveres when they're done. You could possibly use some kind of vbs or windows script to do this.
Answered by joe.attaboy - Wed Oct 8 15:46:06 2008

Any good directories I can submit my blog to?
Q. Preferably popular blog directories, especially ones that are not strict and can allow blogs of a sexual nature... Thanks!
Asked by Jerry the Love Berry - Tue Apr 28 14:44:48 2009 - - 2 Answers - 0 Comments

A. To be honest, I've never seen a blog directory that will allow blogs with any kind of adult theme or content. I think you're better off trying to submit to Digg or StumbleUpon.
Answered by Hexum - Fri May 1 16:25:12 2009

What is the best way to quickly find free directories that I can enter my site to?
Q. My newly built site needs to get out there...I was hoping for some help on finding free directories so that people have an easier time finding me and my company.
Asked by paul_in_boston - Tue May 15 16:14:48 2007 - - 2 Answers - 1 Comments

A. Join SEO Chat forums. There are topics in those forums telling you where to find my free directories. They will also be able to help you with other techniques for promoting your website. I work as an SEO and online marketer, and SEO Chat is a very useful resource--both the forums, and the tools on the main site. I highly recommend it. Another place where you can find a long listing of free directories is Directory Critic. Most of the directories listed on this site are good quality directories that will provide you with valuable backlinks. I have listed all of these websites in the sources section. EDIT: The guy below me actually provides a much better answer than I do. He is correct in his assertion that directories aren't really the… [cont.]
Answered by Adam S - Tue May 15 17:13:10 2007

If the USA goes into a reccession, how do it affect buying text links and online directories prices?
Q. How would a recession affect buying text links and online directories? Would the people who run the directories have to lower their prices just to stay in business and get new customers? How would it affect online directories and places that sell text links for customers to put their website online and promote them?
Asked by new name - Fri Mar 14 00:46:32 2008 - - 1 Answers - 0 Comments

A. Shoppers would be shoping less. Then businesses would be buying less and revenues fall.
Answered by Whats Up Doc - Fri Mar 21 16:49:03 2008

What is the one thing that is common to directories, devices, terminals, and printers in the UNIX environment?
Q. What is the one thing that is common to directories, devices, terminals, and printers in the UNIX environment?
Asked by rjdfhorn - Thu Apr 16 15:45:02 2009 - - 2 Answers - 0 Comments

A. They are all virtual.
Answered by origamimark - Thu Apr 16 15:53:08 2009

Is there a place to submit free directories for everything?
Q. I see some sites have website directories while others have articles. Where can I find a site that has every kind you can think of? Like websites directories, article directories, auction directories, job directories, etc... all in the same site? Thanks in advance!
Asked by mpike77 - Fri Oct 2 13:03:19 2009 - - 2 Answers - 0 Comments

A. Go here:
Answered by Venture Jay - Fri Oct 2 14:29:59 2009

How do i list files using php without showing a link for the parent directories?
Q. I am just looking to display all the .txt files in a directory, i dont want users to be able to access any other directories
Asked by dragon86@ameritech.net - Sun Oct 19 23:51:16 2008 - - 1 Answers - 0 Comments

A. Place this php file in the directory you want listed. ___ '.$file. '
'; } } closedir($handle); } ?>

List of files:

___ If you want a list that is not linked to the item this script will do the trick: \n"; } closedir($dh); } } ?> ___ HTH - Good Luck, -Aaron
Answered by Aaron - Mon Oct 20 11:13:36 2008

Is there a way of finding the highest google page ranked legal directories?
Q. I want to put my process serving website in some more legal directories, however I want to put my money where it is most useful. In order to add rank to my own website I would only like to place my link on pages that have at least a 7 google page rank. Is there an easy way of doing this?
Asked by Lowell Mass - Wed May 6 12:19:34 2009 - - 2 Answers - 0 Comments

A. There are lots of ways to add page rank to your website through the placing of backlinks. Everyone puts backlinks on the usual sites, like blogs, forums, social bookmarking...etc And we all should do this anyway. The key is te quality of the backlinks. And as you have mentioned, at least a PR7 rank in google. Well I have found the perfect answer to what you are looking for. There is a way, and you said easy way, so what is easier than having someone else so the work for you. Not just sloppy work, or the usual page rank stuff. We are talking about PR6 all the way to PR10. That is what I do and most SEO marketers do. Check it out below.
Answered by damn_fine_guy2003 - Fri May 8 23:39:30 2009

What other directories, like Merchant Circle, are out there to submit my business to?
Q. I am looking for any directories, free or pay and was just curious as to what all is out there and if there are any suggested/reccomended sites?
Asked by Boston Bound - Fri Sep 5 20:26:38 2008 - - 2 Answers - 0 Comments
What are the Biggest Directories on the Web?
Q. What are the biggest directories on the internet (except DMOZ). Ideally top 100 but top 10 according to Alexa ranking would be great. 10 points for best answer.
Asked by flowingfaster - Tue May 11 17:39:43 2010 - - 0 Answers - 0 Comments

A. Hey dude your so lucky you asked this question today because yesterday I was looking for directories myself and I found a great website that keeps a list of all the best directory sites, including the best free ones and the best paid ones. The best thing about this site is you can download a constantly updated Excel spreadsheet with all the directory urls for free and you don't even have to subscribe. If you look in the top right corner of this website you will see the Excel Download button: Take your time and have a look around the site because it tells you all the best directories for particular niches, best trusted directories etc plus there's a forum and FAQ pages with more useful info.
Answered by unknown - Tue May 11 18:06:34 2010

Are Directories are a good way to improve a web sites google page rank?
Q. Should I use paid or free directories? Any directories you can recommend? Thanks
Asked by es - Tue May 8 12:49:25 2007 - - 2 Answers - 0 Comments

A. Kinshuk has it exactly right. The more inter-related your pages are the more likely you are to catch the attention of search engines. Meta tags used to work for this, but they got abused. Now it is more important to have lot's of clear desciptive text on each page, and, very importantly, that the titles of your pages be very reflective of their content and not too generic. When you pay someone to optimize your site, these are the things they do. Of course, paying google can work wonders.
Answered by single occupant - Tue May 8 12:59:04 2007

When you submit your website to directories, does it affect your hit counter?
Q. Hi there, I have been submitting my website to directories and was wondering if this has any bearing on my website hit counter. Thank you!
Asked by ChgoLake - Wed Jun 24 23:44:50 2009 - - 3 Answers - 0 Comments

A. Submitting your site to directories will only affect your "hit counter" if you, or someone else, clicks on the link and visits your site. Google analytics is much better than a hit counter, and it is free! I'm talking model T vs. Ferrari Enzo better. This is where you go to get set up.
Answered by Benjamin - Thu Jun 25 02:07:19 2009

SEO: How To Find Article Directories Relating To Real Estate?
Q. Does anyone have a list or know how I'd go about finding a list of article directories that relate to real estate? I have a few real state articles that I need to submit. It would be best to submit them to real estate article directories ONLY and not directories with other topics.
Asked by razz5900 - Mon Mar 17 20:04:20 2008 - - 2 Answers - 0 Comments

A. I don't think you will find a list because there aren't that many. Here are the ones I know about:
Answered by memetrader - Wed Mar 19 14:49:05 2008

Is there a way to submit my website to multiple directories at once?
Q. It is very time consuming to submit my websites to directories one at a time. It there any shortcut and/or website that will submit to multiple directories at once. Must be free of any costs!
Asked by TomR - Tue Sep 16 17:02:36 2008 - - 4 Answers - 0 Comments

A. Nothing's free in life. There are some low-cost companies though. Go on yahoo and type in "directory submission" or add the word "automatic" to it and you'll get a lot of companies. Some of them will submit to multiple directories for as little as $30.
Answered by Leslie K - Tue Sep 16 17:19:01 2008

Why would i submit articles to article directories?
Q. Why would i submit articles to article directories if i can use the content for my website instead? I know i can get a backlink, but i'm practically loosing one page of my website? What do you think?
Asked by unknown - Fri Apr 2 02:39:08 2010 - - 1 Answers - 0 Comments
How to upload whole directories with javascript vice one file at a time?
Q. Trying to develop a script that will upload whole directories of files (up to 200) for ftping...thanks.
Asked by pc95 - Fri Nov 9 10:07:22 2007 - - 2 Answers - 0 Comments

A. You require too much control over the client machine - the only way to do it is via an Applet or AcitveX control. _
Answered by SadButTrue - Fri Nov 9 10:21:54 2007

what are the best web directories around?
Q. Im looking for the best web directories to submit my site to, most of them seem to charge for listings, are there any decent free ones?
Asked by unknown - Tue Aug 25 18:56:28 2009 - - 1 Answers - 0 Comments

A. Most of the following are pretty good and free but please bear in mind that Dmoz is extremely difficult to get your site listed. I would avoid some of the paid directories unless you check page rank of the directory to see if it is worth linking to that directory. You may want to get it listed in Yahoo directory which is free if your site is not a buisness site.
Answered by alecmavity@btinternet.com - Tue Aug 25 19:05:42 2009

What are some good pet/animal website directories?
Q. Does anyone know of some good pet/animal website directories where i can submit my pet/animal related website to?
Asked by saraveza408 - Sun May 25 23:16:47 2008 - - 1 Answers - 0 Comments

A. Hi there... because there is an enormous about of pet-related websites online it would be difficult to provide these here within my answer. In all honesty, if you have something of particular interest such as toys, food, activities... etc. it would be easiest to type the animal and topic in a search engine. If you are just looking to put your own website online you can find several web hosting such as GoDaddy.com If you have a dog there is and for cats
Answered by Seattle - Mon May 26 23:12:59 2008

From Yahoo Answer Search: 'Directories'
Fri Jul 30 23:33:01 2010 [ refresh local cache ]

Learn how to Get Free Promoting For Your Web site in These Simple Steps - lonad News
lonad.com
Learn how to Get Free Promoting For Your Web site in These Simple Steps - lonad News
Sat, 24 Jul 2010 15:22:49 GMT+00:00
lonad News Always remember to submit your website to free directories and small search engines like Yahoo and Bing. I would strongly advocate on specializing in the ... Procure Web Traffic with Article Marketing lonad News Magnon International -Importance of Meta tags in web sites Prfire (press release)
Google News Search: Directories,
Wed Jul 28 12:02:55 2010
httpd directories png
centos.org
httpd directories png
534px x 507px | 21.50kB

[source page]



Yahoo Images Search: Directories,
Wed Jul 28 22:06:46 2010
Organization Web Directories Can Support Your Enterprise GrowBy ...
snipsly.com
Organization Web Directories Can Support Your Enterprise GrowBy ...

drunkbox91

ue, 27 Jul 2010 07:32:40 GM

The . directory. is utilized by a lot of individual entrepreneurs and business enterprise owners to promote their enterprise on the internet. Organization owners have the opportunity to build their personal weblog or web page even though ...

Google Blogs Search: Directories,
Thu Jul 29 07:15:18 2010