Re: obfuscated php anyone ?
| From: | Monte Ohrt | Date: | Mon, 24 Jul 2000 14:33:00 +0000 |
| Subject: | Re: obfuscated php anyone ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7869@lists.php.net to get a copy of this message | ||
Hmm... yes this could work. With the use of eval() you could change
the shape of the code to resemble a calendar, and even get the days
numbered correctly. If I had a spare hour somewhere... ;-)
John Coggeshall wrote:
>
> function DaysInMonth($b, $x) { return
> 31 - ( ( ( $b - ( ( $b < 8 )
> ? 1 : 0 ) ) % 2 ) + ( ( $b ==
> 2 ) ? ( ( ! ( $x % ( ( ! ( $x
> % 100 ) ) ? 400 : 4 ) ) ) ? 1
> : 2 ) : 0 ) ) ; }
>
> hehe
>
> John