Resource type numbers

From: Date: Mon, 11 Nov 2002 18:56:06 +0000
Subject: Resource type numbers
Groups: php.general 
Request: Send a blank email to php-general+get-123859@lists.php.net to get a copy of this message
Im debugging a script that opens a connection to a pop3 server. When I var dump the return of fsockopen() from the script Im debugging, I get -> resource(38) of type (socket) I made up a dummy script to see what I would get and the return of fsockopen is -> resource(1) of type (socket) My dummy script is able to to recieve a +OK from the pop3 server but the other file is getting an empty string. Is there a difference between 1 and 38?? Thanks... --- Gerard Samuel http://www.trini0.org:81/ http://dev.trini0.org:81/

« previous php.general (#123859) next »