[PHP] Re: post & redirect

2005-04-21 Thread Mike Hummel
if you redirect the browser to a new page, once that new page loads up, any POST or GET variables from the previous page will be replaced with the new "redirected to" page. Jem777 wrote: If I submit a post and then, serverside, I redirect the request to another page, do the post variables still

[PHP] Re: Images - Converting TIFF Format?

2005-04-19 Thread Mike Hummel
http://www.imagemagick.org/script/index.php The Disguised Jedi wrote: Is there a quick way to convert a TIFF format picture to a GIF quickly? I can only find support for GIFs in PHP, but maybe I'm missing something. I have a client running a photography business, and I have designed an image wat

[PHP] Re: mailing lists

2005-04-19 Thread Mike Hummel
Sonic Mail Pro is very usable, and very easy to setup. I have some very non-technical clients using it effectively. http://www.sensationdesigns.com/products/scripts/smpro/index.php Clive Zagno wrote: Hi does anyone use any cool php mailing list software. clive -- PHP General Mailing List (http://w

Re: [PHP] Last visitors (SOLVED?)

2005-04-19 Thread Mike Hummel
just do a select limit 11 display up to 11... if less then 11, you might want to display them anyways. you should be able to deal with up to a million + records, so select will stay quick, esp if you make the right fields indexed. you can take care of purging via crons... you might find you want

Re: [PHP] mcrypt_generic_init(): Iv size incorrect

2005-04-19 Thread Mike Hummel
So this solution does work, however it doesn't answer the question as to why this is occurring in the first place. Rather then finding a work around for it, I'd like to know why PHP / mcrypt is throwing the error. Is it an issue in the library itself? Tom Rogers wrote: Hi, Saturday, April 9, 20

Re: [PHP] mcrypt_generic_init(): Iv size incorrect

2005-04-12 Thread Mike Hummel
I get the following error when I try your suggestion: Unknown error type: [8] Undefined variable: iv Code: $key = md5($this->_cypherkey); $key = substr($key, 0, mcrypt_enc_get_key_size($this->td)); $iv_size = mcrypt_enc_get_iv_size($this->td); #$iv = mcrypt_create_iv($iv_size, MCRYPT_RAND); $iv =

Re: [PHP] mcrypt_generic_init(): Iv size incorrect

2005-04-12 Thread Mike Hummel
Do you do this on the encryption or the decryption section or both? Tom Rogers wrote: Hi, Saturday, April 9, 2005, 3:35:21 AM, you wrote: MH> I have an odd php issue with mcrypt. MH> I'm getting a lot of this type of error, but only sometimes: MH> mcrypt_generic_init(): Iv size incorrect; supplied

[PHP] mcrypt_generic_init(): Iv size incorrect

2005-04-08 Thread Mike Hummel
I have an odd php issue with mcrypt. I'm getting a lot of this type of error, but only sometimes: mcrypt_generic_init(): Iv size incorrect; supplied length: 0, needed: 32 (note, the "supplied length: 0" is not always the same. sometimes it is 1, 16, etc). It doesn't seem to affect the decoding o