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

Any bored PHP-knowledgable people?

Name: Kazenodeku 2006-04-12 17:54

I'm making a site that has an archive of ZIP'd papercraft files from 4chan.org/po/, and it was suggested that I have a PHP script that works something like...

"search.php=mario" or something in the URL, which returns a list of files with "mario" as a keyword.

I was trying to learn enough PHP to make it, but I'm failing hard.

So I come here, to ask: Would anyone be willing to make such a script for me?

It needs a bit more than what I said above (Each item returned needs to give a thumbnail image of the model, the model name, list of all it's keywords, links to other download locations); not sure if it's possible to store that in a seperate txt or something.

Thanks in advance to anyone interested.

Name: Anonymous 2006-04-13 7:32

>>2
Thats an overcomplicated solution for someone who isn't familiar with PHP and database systems.

Its easy to implement a search with php and the filesystem:

<?php

$files = glob("/folder-to-archies/*.zip");

for($i = 0; $i < sizeof($files); $i++) {
    if (strpos($files[$i], $category)) {
        $results[] = $files[$i];
    }
}

?>

Thats a super simple script to look for a $category in filenames.

Email me if you want help/a programmer. It's easy stuff and I wouldn't mind having a papercraft archive to use either.

reganzi at gmail dot com

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