Re: [PHP-DB] fopen : Supplied argument is not a valid File-Handle resource

2003-09-30 Thread Ferdian
How about putting in some error checking code as per example in manual? Hi Jason, The error was on : $ns = fsockopen($com_server,43); fputs($ns,$domname\r\n); Any solutions ? Kind Regards, Ferdian -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP-DB] Supplied argument is not a valid File-Handle resource in

2003-09-29 Thread Ferdian
Dear All, I use this script if ( ($type == all or $type == com) and $com_include ) { $com_array = array($ddomain..com,$ddomain..net); $com_count = count($com_array); $i=0; for ($i=0;$i$com_count;$i++) { $domname = $com_array[$i]; $ns = fsockopen($com_server,43);

[PHP-DB] fopen : Supplied argument is not a valid File-Handle resource

2003-09-29 Thread Ferdian
Dear All, I use this script if ( ($type == all or $type == com) and $com_include ) { $com_array = array($ddomain..com,$ddomain..net); $com_count = count($com_array); $i=0; for ($i=0;$i$com_count;$i++) { $domname = $com_array[$i]; $ns = fsockopen($com_server,43);