Pastoid

#!/usr/bin/env php <

The page you are looking at now is at this URL: http://pastoid.com/bcz

This paste was last updated on October 21, 2008 at 12:31 pm.

php coderaw

#!/usr/bin/env php
<?php
 
function fork_bot()
{
        $id = pcntl_fork();
        if(pid == -1) {
                die('could not fork');
        }
        elseif ($id) {
                echo "\n\nstarted phergie with pid: $id\n\n";
        }
        else {
                include "Bot.php";
        }
        return $id;
}
 
$pid = pcntl_fork();
if($pid == -1) {
        die('could not fork');
}
elseif ($pid) {
        echo "\n\nstarted listener with pid: $pid\n\n";
}
elseif ($pid == 0) {
        while ( $id = fork_bot() ) {
                pcntl_wait($id, $status);
        }
}
 
exit;

Toggle wordwrap

Referring DomainHits
Unknown Referer 127
pastoid.com 9
search.live.com 1
Is this paste spam?
<Hide