Skip to content

{ Category Archives } php

Convert an PHP array to object

How do you convert an php array stdClass object?

Many times, we have to convert array to stdClass objects for easy access. Yeah, easy access. At least for me. Cause typing [""] instead of -> requires 2 extra key press. I dont like that.
So how do you do it?
Its really simple, just [...]

Tagged ,

Decoding Encoded PHP Codes (Getting Dynamic)

I saw many people want to decode their files. So I made a decoder. Cheers!
All you have to paste your code here. Then press ‘Go’.
Remember, the format of the code must be like the following.

/**
* Here dots (…) means long base64 data
*/
$o="………………….";
eval(base64_decode("……………"));
return;

————————-
Thu, 06 Aug 2009 00:23:20
A little update.  I just added another type of decoder. [...]

Tagged , , , , ,