What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Need some help =]

Need some help =]
Author: Message:
Th3rmal
Veteran Member
*****

Peek-a-boo! I see you!!

Posts: 1226
Reputation: 26
32 / Male / Flag
Joined: Aug 2005
O.P. Need some help =]
ok you know how directories in websites (such as www.th3rmal.com/nothing ) are automatically updated when you upload something?

how would i do that, except with an index page, so like i want www.th3rmal.com/myschool automatically updated, which it doesnt atm...

This post was edited on 09-11-2008 at 11:10 AM by Th3rmal.
You have the intellect comparable to that of a rock. Be proud.
09-11-2008 11:05 AM
Profile E-Mail PM Web Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
RE: Need some help =]
using PHP :P

code:
function dirList ($directory)
{

    // create an array to hold directory list
    $results = array();

    // create a handler for the directory
    $handler = opendir($directory);

    // keep going until all files in directory have been read
    while ($file = readdir($handler)) {

        // if $file isn't this directory or its parent,
        // add it to the results array
        if ($file != '.' && $file != '..')
            $results[] = $file;
    }

    // tidy up: close the handler
    closedir($handler);

    // done!
    return $results;

}

will return an array in which you would have to loop through the items and echo/print them

This post was edited on 09-11-2008 at 08:13 PM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
09-11-2008 08:11 PM
Profile PM Web Find Quote Report
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: Need some help =]
Why don't you use an Apache module called mod_autoindex? :p Have a look at this tutorial

This post was edited on 09-11-2008 at 08:28 PM by felipEx.
09-11-2008 08:26 PM
Profile E-Mail PM Find Quote Report
Th3rmal
Veteran Member
*****

Peek-a-boo! I see you!!

Posts: 1226
Reputation: 26
32 / Male / Flag
Joined: Aug 2005
O.P. RE: Need some help =]
Atm, rofl just helped me with the php, but ill also check out the Apache one as well :)
You have the intellect comparable to that of a rock. Be proud.
09-11-2008 08:40 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Need some help =]
I'm currently using this php script on http://spunkylovemuff.co.uk and it's pretty cool, easy to customize, allows for file uploads, hidden folder and custom file type images and thumbnails of image files. :p
<Eljay> "Problems encountered: shit blew up" :zippy:
09-11-2008 08:54 PM
Profile PM Find Quote Report
Th3rmal
Veteran Member
*****

Peek-a-boo! I see you!!

Posts: 1226
Reputation: 26
32 / Male / Flag
Joined: Aug 2005
O.P. RE: Need some help =]
quote:
Originally posted by SpunkyLoveMuff
this php script
page not found :(

EDIT: nvm got it

EDIT2: Wow thanks slm, script works a treat and looks real nice to :)

This post was edited on 09-11-2008 at 09:24 PM by Th3rmal.
You have the intellect comparable to that of a rock. Be proud.
09-11-2008 09:15 PM
Profile E-Mail PM Web Find Quote Report
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
RE: Need some help =]
i swear there is already a thread on this.

edit: hey there is tid=74044

This post was edited on 09-11-2008 at 09:49 PM by Jarrod.

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














09-11-2008 09:47 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On