Joseph Bannon wrote:
> Does IE use mozilla? I'm writing a PHP script to keep track of user
> agents.
>
> J.
Have you tried using the get_browser() function? Take a look at it, it'll
make keeping track of user agents must easier. (It was recently given a
facelift in PHP 4.3.3, so try to use that.
Try calling pcntl_waitpid() to clear out zombies.
You could also try recompiling with --enable-sigchild if you haven't
already.
J
Daniel Souza wrote:
>
> well... playing with fork() in a phpcli script, i got some troubles with
> childs... anybody knows how to dont get zombies/defuncts with S
You're using the same input for both encryption and decryption. Change the
decryption line to
$decrypted = mcrypt_ecb(MCRYPT_BLOWFISH, $key, $encrypted, MCRYPT_DECRYPT,
$iv);
srand() isn't doing anything here, you can get rid of it. Also, the IV does
nothing here, it is ignored in ECB mode. Try
Daniel Rychlik wrote:
> Hello,
>
> I have been playing with the mycrypt function. Im having a bit of
> trouble understanding why it is important to use a vector IV.
>
> I was wandering if there is a reasonably powerful encryption algorithm.
> That uses a key only instead of getting the block si
4 matches
Mail list logo