r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!RebGUI] A lightweight alternative to VID

nve
28-Dec-2011
[8966]
http://www.dobeash.com/rebgui.html
MaxV
30-Dec-2011
[8967]
No, I mean that: pressing CTRL+S on a field, RebGUI make he spellcheck 
of that field, but you must download  your language dicctionary from 
http://www.dobeash.com/RebGUI/dictionary/
Did somebody move that page?
GrahamC
30-Dec-2011
[8968]
A dictionary is just a series of words. You can make your own
Ashley
30-Dec-2011
[8969]
Odd, the directory has 755 so should be readable ... anyway the files 
can be accessed directly:

	http://www.dobeash.com/RebGUI/dictionary/American.zip

and:

	British.zip
	Czech.zip
	Dansk.zip
	Deutsch.zip
	Espanol.zip
	Francais.zip
	Italian.zip
Kaj
31-Dec-2011
[8970]
Does it have an index.html? Does the web server redirect to it?
Ashley
1-Jan-2012
[8971]
Didn't require one in the past, server config has probably changed.
MaxV
4-Jan-2012
[8972x3]
You can create the following file index.html:
<?php
  function getDirectoryList ($directory) 
  {
    // create an array to hold directory list
    $results = array();
    // create a handler for the directory
    $handler = opendir($directory);
    // open directory and walk through the filenames
    while ($file = readdir($handler)) {

      // if file isn't this directory or its parent, add it to the results
      if ($file != "." && $file != "..") {
        $results[] = $file;
      }
    }
    // tidy up: close the handler
    closedir($handler);
    // done!
    return $results;
  }
?>
Or better:
<?

$path = ".";
$dir_handle = @opendir($path) or die("Error opening $path");
echo "Directory content: <br/>";
while ($file = readdir($dir_handle))
{
if($file!="." && $file!="..")
echo "<a href='$file'>$file</a><br/>";
}
closedir($dir_handle);
?>
Gabriele
5-Jan-2012
[8975]
Or just enable Indexes in apache.
Ashley
6-Jan-2012
[8976]
... if you have control over that ;)
Gabriele
6-Jan-2012
[8977:last]
most of the times, you can put that in a .htaccess file.