Hi allemaal!
Vraagje;
Ik wil voor school al mijn files in een map zetten zodat ik nooit zoiets heb van "oeps, USBstick vergeten :S"
Als ik nu mijn files in de map /school zet komt er
Te staan, hoe kan ik een lijst met bestanden krijgen?Forbidden
You don't have permission to access /school/ on this server.
BvD
- Files in map weergeven
-
18-10-2007, 16:11 #1
- Berichten
- 620
- Lid sinds
- 18 Jaar
Files in map weergeven
Laatst aangepast door gast3025 : 18-10-2007 om 17:10
-
-
18-10-2007, 16:32 #2
- Berichten
- 620
- Lid sinds
- 18 Jaar
[QOUTE] Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.[/QOUTE]
Gewoon mailen?
-
18-10-2007, 16:36 #3
ManagedWPHosting.nl
- Berichten
- 1.486
- Lid sinds
- 19 Jaar
jup
of even een PHP file maken die de huidige directory even uitleest ?
-
18-10-2007, 16:38 #4
- Berichten
- 620
- Lid sinds
- 18 Jaar
Zou niet weten hoe dat werkt,
(ideeen welkom!) Bedankt Ramon en Martijn!
-
18-10-2007, 17:05 #5
ManagedWPHosting.nl
- Berichten
- 1.486
- Lid sinds
- 19 Jaar
ik heb hier nog een hele oude liggen, hij kan fouten bevatten !
PHP Code:<?php
$thisfile = $_SERVER['PHP_SELF'];
$DirPath='./';
$i=0;
$j=0;
if (($handle=opendir($DirPath)))
{
while ($node = readdir($handle))
{
$nodebase = basename($node);
if ($nodebase!="." && $nodebase!="..")
{
if(is_dir($DirPath.$node))
{
$dirs[$i] = $node;
$i++;
}
else
{
$files[$j] = $node;
$j++;
}
}
}
}
sort($files);
for($y=0; $y<count($files); $y++) {
$node = $files[$y];
echo "<a href='$DirPath$node'>$node</a><br>";
}
Echo '<HR>';
?>
-
18-10-2007, 17:09 #6
- Berichten
- 620
- Lid sinds
- 18 Jaar
Werkt, topic gesloten. (zonder slotje, kan hier niet)
Ramon, bedankt!
Plaats een
- + Advertentie
- + Onderwerp
Marktplaats
Webmasterforum
- Websites algemeen
- Sitechecks
- Marketing
- Domeinen algemeen
- Waardebepaling
- CMS
- Wordpress
- Joomla
- Magento
- Google algemeen
- SEO
- Analytics
- Adsense
- Adwords
- HTML / XHTML
- CSS
- Programmeren
- PHP
- Javascript
- JQuery
- MySQL
- Ondernemen algemeen
- Belastingen
- Juridisch
- Grafisch ontwerp
- Hosting Algemeen
- Hardware Info
- Offtopic