ciao.
volevo solo sapere come mai nella descrizione della funzione fsockopen
http://it2.php.net/manual/it/function.fsockopen.php
c'e' scritto che restituisce un int
int fsockopen ( string hostname, int porta [, int errno [, string errstr [, float timeout]]] )
ma dopo dice che restituisce un boolean se fallisce
"se la chiamata non ha successo, viene restituito FALSE "
...tutto qui
non solo...ultima cosa....perche se metto il controllo cosi sulla socket
if (!$socket)
{
echo "$errstr ($errno)
\n";
}
quando non riesce a effetturare la connessione mi da questo errore inveci di stampare l'errore?
Fatal error: Maximum execution time of 30 seconds exceeded in c:\Apache\htdocs\workgroup\copia_terminal\web\abou t.php on line 11
ciao e grazie

Rispondi quotando
