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

Pages: 1-4041-

Langs

Name: Anonymous 2006-12-04 15:44

You bash on C, C++, Java, Perl, Python, etc. Is there anything /prog/ WON'T bash?

Name: Anonymous 2006-12-04 15:47

BASIC (well, I bash it, but everyone else here loves numbered lines and gotos)

Name: Anonymous 2006-12-04 16:38

lister.php:
-------------------------
<?php

function image_lister_list($imageFolder, $imageFolderURL, $allowedExtensions, $imageWidth, $authLevel){
    $files = scandir($imageFolder);
    $images = array();
    foreach($files as $file) {
        foreach($allowedExtensions as $ext) {
            if((strlen($file)>strlen($ext)) && stristr($file, $ext)){

                array_push($images, $file);
            }
        }
    }
    $item = 0;
    foreach($images as $image){
        echo "<img src=\"" . $imageFolderURL . $image . "\" alt=\"" . $image . "\" width=\"" . $imageWidth . "\" /><br />\n";
        echo "File:" . $image . "&nbsp;&nbsp;&nbsp;&nbsp;";
        if($authLevel < 2){
            echo "<a href=\"index.php?p=delete&index={$item}\"> Delete </a><br /><br />";
        }
        $item += 1;
    }
}

function image_lister_delete($imageFolder, $allowedExtensions){
    if(isset($_GET["index"])){
        $index = $_GET["index"];
        $files = scandir($imageFolder);
        $images = array();
        foreach($files as $file) {
            foreach($allowedExtensions as $ext) {
                if((strlen($file)>strlen($ext)) && stristr($file, $ext)){
                    array_push($images, $file);
                }
            }
        }
        unlink($imageFolder . "\\" . $images[$index]);
    }
}

?>
---------------------------

Name: Anonymous 2006-12-04 16:39

uploader.php:
------------------------------------
<?php

function image_uploader_upload($imageFolder, $imageFolderURL) {
    $targetPath = $imageFolder . "\\" . basename( $_FILES['uploadedfile']['name']);
    $targetURL = $imageFolderURL . basename( $_FILES['uploadedfile']['name']);

    if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $targetPath)) {
        echo "The file ".  basename( $_FILES['uploadedfile']['name']).
        " has been uploaded to <a href=\"$targetURL\">$targetURL</a><br />";
    } else{
        echo "There was an error uploading the file, please try again!";
    }
}
?>
-------------------------

Name: Anonymous 2006-12-05 3:32

HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD! HELLO WORLD!

Name: Anonymous 2006-12-05 11:14

We don't bash Bash

Name: Anonymous 2006-12-05 11:28

>>7
because it sucks so much it's not even funny

Name: Anonymous 2006-12-05 13:24 (sage)

bash is huge like xbox.

Name: Anonymous 2006-12-06 12:00

>>3-5
better hope nobody uploads "image.png.php" !

Name: Anonymous 2006-12-06 12:50

>>10
Shh, I'm waiting for people to put this script on their servers...

Also, real men only allows php files to execute in pre-specified folders.

Name: Anonymous 2006-12-06 13:27

>>11
Real men hardcode their webservers.  In machine code.

Name: Anonymous 2006-12-06 16:40

>>12

Real men tell some pasty geek to set up a web server for them.

Name: Anonymous 2006-12-09 0:06

>>1
usually all those language are useful for something(except python cuz java does the same) they are just useful for different things but most of the ppl on /prog/ are nubs(especially 12) that the only thing they can do is cout<<"Hello World !"<<endl;

Name: Anonymous 2006-12-09 0:23

JESUS CHRIST, WHERE DID >>3 GO!?!?!??!!?! THIS LINE IS NO LONGER SECURE

Name: Anonymous 2006-12-09 2:15

>>15
It fell to the Beast.

Name: Anonymous 2006-12-09 12:40

>>15

They've actively started moderating this forum, deleting all posts that are either off-topic, or on-topic but dodgy.

Name: Anonymous 2006-12-09 13:52

>>17
obviously lies because then there would be no threads left

Name: Anonymous 2006-12-09 18:16

Name: NotMrVacBob 2006-12-09 18:41

>>19
You're pushing the limits!

Name: Anonymous 2006-12-11 14:39

Name: fairX 2006-12-11 15:02

hello im fairX the haxxor join my community of hackers if you payme enough i will give you access to a private area of haxx ;)

Name: Anonymous 2006-12-11 15:21

>>22
how much do you want?

Name: Anonymous 2006-12-11 18:13

>>23 An arm..... and a leg....

Name: Anonymous 2006-12-15 22:54

>>23
he wants to scam

and i bet he likes python

Name: Anonymous 2006-12-16 2:26

Nobody bashes lisp.

Name: Anonymous 2006-12-16 8:36

>>26
of course, it's because Lisp is the perfect language, XML is just a pure copy of the syntax of Lisp.

Name: Anonymous 2006-12-16 11:54

>>26
Even though its (lack of) syntax blows and it can't be properly indented whatsoever; anything you may come up with sucks anyways.

Name: Anonymous 2006-12-16 16:01

>>28
here is Lisp syntax:

opening parenthesis: (
closing parenthesis: )

that's all. and don't tell me you can't properly configure your editor or IDE, do you want me to help?

Name: Anonymous 2006-12-16 19:30

>>29
I said it can't be properly indented and any attempt at it will suck for one reason or another. There's just no good way to indent Lisp code nicely; I've more than tried.

Name: Anonymous 2006-12-16 20:02

>>30
Real men use point-free syntax (i.e. use many .s) in Haskell to avoid parentheses, and function arguments for that matter.

Name: Anonymous 2006-12-16 21:14

wow dude lisp is gay.. for faggets only..

Name: Anonymous 2006-12-16 21:49

I have lisp Your a faggot

Name: Anonymous 2006-12-18 5:52

>>32

FAG-GET

Name: Anonymous 2006-12-18 12:18

(fag you)

Name: Anonymous 2006-12-18 14:31

> (fag-p 'you)
T

Name: Mr. Welcome 2007-10-03 13:13

(⌒D⌒) Hello. I am "Mr. Welcome to the past bitch fucking bump". I do believe this is a thread from the past in need of a fucking bump, so I would like to fucking bump it. That is why my name is "Mr. Welcome to the past bitch fucking bump".

Name: Anonymous 2007-10-03 13:58

>>1
C has its uses. C++ pretty much sucks. Java sucks horribly. Perl kinda sucks. Python, Lisp, Haskell, etc. deserve no criticism, besides memes and trolls.

Name: Anonymous 2009-01-14 13:27

SICP

Name: Anonymous 2009-03-06 6:13

The code generated in   assembly 3 Convert   the ASM to   fit your VM.

Name: Anonymous 2009-03-06 10:00


Imagefolderurl allowedExtensions imageWidth authLevel.

Name: Anonymous 2012-03-28 2:23

my farts burn my anus
it hurts
in a good way

Name: Sgt.Kabu筞혙kiman記뛼 2012-05-28 21:06

>>44
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
dubs won this time
All work and no play makes Jack a dull boy

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