Jump to content

Need help urgently, please..immediately!!


Anti-Moronic

Recommended Posts

  Quote

I actually set my signature to this before this was posted.

 

The sad thing is, people who create these titles don't read rules, stickies, guidelines, not to mention signatures.  Even if they did, do you think they would actually listen...?

  Quote

Sorry, I should clarify. I actually mean how to echo the string '1+1' in php?

 

class OnePlusOneSimpleEchoInPhp {
    const STDOUT = 'php://output';
    const OUTPUT = '1+1';
    
    public static function output() {
        file_put_contents(self::STDOUT, self::OUTPUT);
    }
}

OnePlusOneSimpleEchoInPhp::output();

 

I think this is the simplest example I could think of how to do this effectively ;)

  Quote

  Quote

Sorry, I should clarify. I actually mean how to echo the string '1+1' in php?

 

class OnePlusOneSimpleEchoInPhp {
    const STDOUT = 'php://output';
    const OUTPUT = '1+1';
    
    public static function output() {
        file_put_contents(self::STDOUT, self::OUTPUT);
    }
}

OnePlusOneSimpleEchoInPhp::output();

 

I think this is the simplest example I could think of how to do this effectively ;)

 

You know me well. I like my classes.  ;)

 

Sorry, I should have mentioned something else. I then want the string converted into hexidecimal, stored in a file, inserted into a database and printed to page.

 

I then need the data to be used as parameters in a $_POST query which should loop through a set of specified domains and insert each line into a field beginning with the letter 'p'.

 

..I feel I am missing something else.

 

Do you have the codes?? PLEASE. ASAP.

I do not only have the codes, I can even see them:

 

000001110001001010000101010001010101010101010101010101010101010
100101000010101000101010101010101010101010101010101001010010101
111000100101000010101000101010101010101010101010101010101010101
000001110001001010000101010001010101010101010101010101010101010
100101000010101000101010101010101010101010101010101001010010101
111000100101000010101000101010101010101010101010101010101010101
000001110001001010000101010001010101010101010101010101010101010
100101000010101000101010101010101010101010101010101001010010101
111000100101000010101000101010101010101010101010101010101010101
000001110001001010000101010001010101010101010101010101010101010
100101000010101000101010101010101010101010101010101001010010101
111000100101000010101000101010101010101010101010101010101010101
000001110001001010000101010001010101010101010101010101010101010
100101000010101000101010101010101010101010101010101001010010101
111000100101000010101000101010101010101010101010101010101010101
000001110001001010000101010001010101010101010101010101010101010
100101000010101000101010101010101010101010101010101001010010101
111000100101000010101000101010101010101010101010101010101010101
000001110001001010000101010001010101010101010101010101010101010
100101000010101000101010101010101010101010101010101001010010101
111000100101000010101000101010101010101010101010101010101010101

 

  Quote

  Quote

Sorry, I should clarify. I actually mean how to echo the string '1+1' in php?

 

class OnePlusOneSimpleEchoInPhp {
    const STDOUT = 'php://output';
    const OUTPUT = '1+1';
    
    public static function output() {
        file_put_contents(self::STDOUT, self::OUTPUT);
    }
}

OnePlusOneSimpleEchoInPhp::output();

 

I think this is the simplest example I could think of how to do this effectively ;)

 

And yet still more efficient than java...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.