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

Pages: 1-

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-12 18:11

You want to use a database, most likely MySQL. It's possible to store all that data and more in one place using a database.

Name: Kazenodeku 2006-04-12 18:46

I realize that, but I completely fail at all programming other than the most basic java/actionscripting, and I figured with PHP it'd be easiest to store all that info in a TXT that I could edit regularly, rather than adding to a database, which I have no idea how to do.

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

Name: Anonymous 2006-04-13 7:33

>>4
Er, don't tell me I forgot to use '=== false' in the if statement I was in a hurry.

Name: Anonymous 2006-04-13 14:46

PHP: Platform Homosexual Puntme
PHP: Polish Hoard Putty
PHP: Piles Hairy Pipebomb
PHP: Putty Hitler Piles
PHP: Protection Hypertext Preprocessor
PHP: Pleasuring Huge Pipebomb
PHP: Polish Heavy Purr
PHP: Programmer Hot Purr
PHP: Pissing Homo Polish
PHP: Programmer Homeland Platform
PHP: Pissing Huge Pipebomb
PHP: Poop Hobo Programmer
PHP: Programmer Howling Puntme
PHP: Powerful Huge Preprocessor
PHP: Putty Homeland Polish
PHP: Purr Hypertext Powerful
PHP: Powerbook Hairy Pissing
PHP: Pooping Huge Plop
PHP: Powerbook Huge Puntme
PHP: Pipebomb Homeland Poop
PHP: Pimp Hot Protection
PHP: Preprocessor Homosexual Perfect
PHP: Purr Huge Perfect
PHP: Piles Homosexual Pizza
PHP: Prostitute Hairy Putty
PHP: Pope Hypertext Peckers
PHP: Prostitute Hairy Polish
PHP: Pope Hot Programmer
PHP: Puntme Hoard Purr
PHP: Pipebomb Huge Plop
PHP: Protocol Hoard Pimp
PHP: Protocol Hispanic Pipebomb
PHP: Php Hard Polish
PHP: Platform Hoard Polish
PHP: Polish Hardware Puntme
PHP: Prostitute Hard Peckers
PHP: Pleasuring Hot Pimp
PHP: Putty Hot Polish
PHP: Petting Hypertext Polish
PHP: Polish Homosexual Pipebomb
PHP: Poking Homo Pizza
PHP: Protection Hoard Pope
PHP: Pope Homeland Polish
PHP: Platform Hard Powerful
PHP: Petting Howling Poking
PHP: Protection Hurt Php
PHP: Platform Hardware Pope

Name: ​​​​​​​​​​ 2010-09-07 14:31

Name: Anonymous 2010-11-02 10:24


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