[Spip] Bug mysql_insert_id en PHP4

Salut,

J'ai rencontré un problème qui pourrait vous intéresser depuis qu'on a
déménagé rezo.net sur une machine qui utilise PHP4 : le mysql_insert_id, qui
marchait très bien en PHP3, ne marche plus là.

Trouvé l'explication dans le manuel annoté de PHP :

With MySQL 3.22.30 and php4.0.3pl1, this way not working. The function
allways returned 0.

I upgraded MySQL to 3.23.27beta and recompiled php with this MySQL, and it
was working perfectly.

Or sur la bécane de rezo on est bien en MySQL 3.22, et non 3.23. Ce qui
explique le problème. Bon, pour le Portail j'ai réussi à contourner la chose
mais si je me souviens bien SPIP utilise pas mal de mysql_insert_id aussi,
non ? Donc éventuellement spécifier dans la doc que si c'est PHP4 qui est
utilisé, il faut MySQL 3.23...

Laz