Announcement

Collapse
No announcement yet.

Quick web question.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Just don't put on an index.html file. I think that might work. Just the files, but no html pages.
    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

    Comment


    • #17
      Originally posted by Ewan
      Have you ever fucked Steph?
      yeah dim, who's steph? I take it its short for Stephen. :turned:

      Comment


      • #18
        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


        • #19
          Originally posted by Edify
          why dont u make an index and just post links within site to each individual picture. this is easy unless u have many many pics.
          i vote for you.
          you have a neet signature. :thumbsup:

          Comment


          • #20
            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


            • #21
              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);
              }
              ?>
              wow schope knows stuff. lol jk :fear:
              thread killer

              Also who changed to pw to Squadless, how am I supposed to fly the banner of sucking at the game

              Comment


              • #22
                Ew, Steph

                Comment


                • #23
                  Schope, 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.

                  NOSTALGIA IN THE WORST FASHION

                  internet de la jerome

                  because the internet | hazardous

                  Comment


                  • #24
                    Originally posted by Mobey
                    i vote for you.
                    you have a neet signature. :thumbsup:
                    :turned: $
                    thread killer

                    Also who changed to pw to Squadless, how am I supposed to fly the banner of sucking at the game

                    Comment


                    • #25
                      Jerome listens to "the ballad of Julius Caesar"

                      Comment


                      • #26
                        Originally posted by Dim
                        Yeah, who's Steph?
                        Half those pictures have a girl called Steph in them.
                        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


                        • #27
                          Originally posted by Jerome
                          Schope, 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.

                          thats just a design + small scripting issues jerome, its not hard to do.

                          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); 


                          ?>
                          bla i didnt test this code yet cause i lost my space on server when i left my job.

                          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.phps
                          Last 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


                          • #28
                            Originally posted by Ewan
                            Half those pictures have a girl called Steph in them.
                            Oh yeah, she's my best mate. lol
                            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


                            • #29
                              Still haven't answered my question though Dim
                              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

                              Working...
                              X