Ir para conteúdo

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

guilherme014

O que pode ser este erro em fsockopen ?

Recommended Posts

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /informa.php on line 192 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /informa.php on line 192 a linha é esta $fp = fsockopen($host,$port,&$err_num,&$err_msg,30);

Compartilhar este post


Link para o post
Compartilhar em outros sites

tenta tirar o '&'(E comercial) dos parametros, pois o erro tem algo haver com Call-time pass-by-reference e o & serve pra passar valor por referencia... nao testei mas deve ser isso, se der certo posta ai ;)

 

[]s

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.