From:             [EMAIL PROTECTED]
Operating system: Solaris 2.6
PHP version:      4.0.5
PHP Bug Type:     Filesystem function related
Bug description:  tmpfile() Does not work in version PHP4 only in PHP3

$FORWARD_TMP = tmpfile();

$connect = ftp_connect("$MAIL_SERVER");

ftp_fget($connect, "$FORWARD_TMP", ".forward", FTP_ASCII);


Following code above give this error message:

Warning: Supplied argument is not a valid File-Handle resource in 
/export1/www/docs/users/jsh/testtmp.php on line 7

In PHP3 it works on Solaris 2.6

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to