mmm, stavo approfondendo l'argomento e mi sa che il problema deriva non tanto da PHP ma dal fatto che l'estensione php_mysql.dll è compilata verso una vecchia release di mysql con il risultato che le stored procedure potrebbero non funzionare correttamente
per toglierti il dubbio dovresti provare a richiamare una stored procedure con MySQLi però usando sempre la sintassi SQL
---
update
---
ho trovato frugando sul web questo thread
l'ultimo tipo dice che senza usare le connessioni persistenti e passando 131074 come client_flags a mysql_connect è riuscito a far funzionare il tutto
http://www.usenet-forums.com/php-lan...ql-5-php4.html
Quel valore corrisponde alla costante mysql CLIENT_MULTI_RESULTS (costante che non è definita in php)
Dalla pagina
http://dev.mysql.com/doc/refman/5.0/...l-connect.html
c'è messo che
Puoi provare cosi se si risolve il problema ma devi fare svariati test perché con questo giochino è possibile lanciare più query con un solo comando mysql_query che da una parte comporta magari l'abilitazione delle stored procedure dall'altra parte se presente un bug nella validazione dei dati in ingresso è possibile dropparti/svuotarti le tabelle con estrema facilità!!!!!!!*** CLIENT_MULTI_RESULTS
Tell the server that the client can handle multiple result sets from multiple-statement executions or stored procedures. This flag is automatically enabled if CLIENT_MULTI_STATEMENTS is enabled. See the note following this table for more information about this flag.
*** CLIENT_MULTI_STATEMENTS
Tell the server that the client may send multiple statements in a single string (separated by “;”). If this flag is not set, multiple-statement execution is disabled. See the note following this table for more information about this flag.