Just don't put on an index.html file. I think that might work. Just the files, but no html pages.
Announcement
Collapse
No announcement yet.
Quick web question.
Collapse
X
-
7:Barton> hi tats
7:Barton> still no smod?
7:Barton> :(
7:Tatsumaru uk> heh no
7:Barton> guess u need to do more ass kissing
3:Harder> we could be like tom cruise in top gun with team speak
3:Harder> "MAVRIC I GOTTA BIRD ON MY BACK!!"
8:Ghast> LOL METALKID LOOKS LIKE A WEASEL ROFLROFL
-
Peanuts, you can look at all the pics. It's not a Stephen.USS Banana after years of superior jav play has amassed 17999 kills, he is 1 kill away from 18k, Type ?go Javs FOR A GAME OF HUNT (no scorereset) -Kim
---A few minutes later---
9:cool koen> you scorereseted
9:Kim> UM
9:Kim> i didn't
9:cool koen> hahahahahahaha
9:ph <ZH>> LOOOOL
9:Stargazer <ER>> WHO FUCKING SCORERESET
9:pascone> lol?
Comment
-
Yeah, who's Steph?EvoLd> Roboqueen died again?
cool koen> :)
PRiMORDiAL> pfft
cool koen> not because of a bug
EvoLd> Lol
Treachery> meh
EvoLd> why then?
PubAceR> women in power dont last
EvoLd> LOl
toaster oven reviews
Comment
-
Originally posted by schope:up:
change the permission of the directory to allow everybory read, prolly its a unix/lnx server and doing this you gonna let the user that webserver runs in read there and may solve ur problem.
if you cant do that just find out if your server has php support and create a simple script index.php .
PHP Code:<?php
if ($handle = opendir('.')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
echo "$file <br>\n";
}
}
closedir($handle);
}
?>thread killer
Also who changed to pw to Squadless, how am I supposed to fly the banner of sucking at the game
Comment
-
Originally posted by DimYeah, who's Steph?USS Banana after years of superior jav play has amassed 17999 kills, he is 1 kill away from 18k, Type ?go Javs FOR A GAME OF HUNT (no scorereset) -Kim
---A few minutes later---
9:cool koen> you scorereseted
9:Kim> UM
9:Kim> i didn't
9:cool koen> hahahahahahaha
9:ph <ZH>> LOOOOL
9:Stargazer <ER>> WHO FUCKING SCORERESET
9:pascone> lol?
Comment
-
Originally posted by JeromeSchope, you're brilliant
anyways, some questions - could i assign different pictures to the files? specifically, if i wanted to basically imitate the default directory listing with that PHP script. more specifically, i want to remake Opera's Window Explorer directory.
i can help you with the scripting issue, ill give you a code modification example with some comments ok ?
PHP Code:<?php
// first make an array with the extension pointing to the icon you want to be showed
$icons = array(
".mp3" => "/images/mp3.gif",
".jpg" => "/images/jpeg.jpg",
".jpeg" => "/images/jpeg.jpg",
".php" => "/images/php.jpg"
);
$defaulticon = "/images/def.jpg";
if ($handle = opendir('.')) {
while (false !== ($file = readdir($handle))) {
$icon = ""; // clean icon from the loop ;)
if ($file != "." && $file != "..") { // $file is the variable with the filename right ? so lets play with this string
$posdot = strrpos($file,"."); // finds the postion of the last .
$extension = substr($file,$posdot); //grabs the extension from last .
$icon = $icons[$extension]; // associates the icon
if (empty($icon)) $icon = $defaulticon; // shows default if not set yet
echo "<img src='$icon'>$extension <a href='".htmlspecialchars($file)."'>$file</a><br>\n";
}
}
closedir($handle);
}
?>
Try it and if it doesnt work talk back, im getting a free webspace now so i can work with some twdev and i might test it soon so ill post the link for the code and stuff soon.
cheerz
Edit: i got a webspace and tested it:
schope.webcindario.com/index.php
you also can get the source from:
schope.webcindario.com/index.phpsLast edited by schope; 11-14-2004, 10:40 AM.8:I Hate Cookies> a gota dágua foi quando falei q eu tinha 38 anos e estava apaixonado por uma garota, mas a família dela n deixava agente namorar
8:I Hate Cookies> aí quando todo mundo me apoiou falando q o amor supera tudo, falei q a garota tinha 12 anos
8:I Hate Cookies> aí todos mudaram repentinamente de opinião falando q eu era um pedófilo
8:AnImoL> esses amigos falsos
8:SCHOPE NORRIS> o amor supera tudo. da até pra esperar a puberdade
8:I Hate Cookies> sim... fiquei desiludido schope...
Comment
-
Originally posted by EwanHalf those pictures have a girl called Steph in them.EvoLd> Roboqueen died again?
cool koen> :)
PRiMORDiAL> pfft
cool koen> not because of a bug
EvoLd> Lol
Treachery> meh
EvoLd> why then?
PubAceR> women in power dont last
EvoLd> LOl
toaster oven reviews
Comment
-
Still haven't answered my question though DimUSS Banana after years of superior jav play has amassed 17999 kills, he is 1 kill away from 18k, Type ?go Javs FOR A GAME OF HUNT (no scorereset) -Kim
---A few minutes later---
9:cool koen> you scorereseted
9:Kim> UM
9:Kim> i didn't
9:cool koen> hahahahahahaha
9:ph <ZH>> LOOOOL
9:Stargazer <ER>> WHO FUCKING SCORERESET
9:pascone> lol?
Comment
Channels
Collapse
Comment