Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Php Code

Name: Anonymous 2009-02-12 1:14

hey, can anyone help me with a quick code. heres what i need to do.
I have a website where users post how to guides. There is a main page which contains links to the guides and several how to guide pages...whenever someone posts a guide a webpage is created however if i want the page to be linked on the main page i must do it manually.

what can i do so that is will be added automatically?

here is the code used to submit a post http://onlydollars.tk/ ...what can i add to make links added to the main page automatically?

Name: e 2009-03-11 1:12

test

Name: Hairbulljames 2009-03-11 1:13

Hairbulljames

Name: Anonymous 2009-03-11 20:50

function dirList ($directory)
{

 
    $results = array();
    $handler = opendir($directory);
    while ($file = readdir($handler)) {
        if ($file != '.' && $file != '..')
            $results[] = $file;
    }


    closedir($handler);
    return $results;

}

$array = dirList(/path/to/howtos);
//below here is a crappy output of the array but do the rest //yourself
print_r($array);

Don't change these.
Name: Email:
Entire Thread Thread List