Mailinglisten-Archive |
hi,
seit zwei Monaten beschäftige ich mich intensiv mit php. ich passe
gerade den ftp-client von paul southworth an kundenspezifische wünsche
an.
leider bekomme ich bei größeren files immer eine fehlermeldung "can't
create tmp file" hat jemand einen Tip?(apache/php4pl1modul/winnt4)
...
function phpftp_put( $phpftp_user, $phpftp_passwd, $phpftp_dir,
$userfile, $userfile_name ) {
srand((double)microtime()*1000000);
$randval = rand();
$tmpfile="f:/temp/" . $userfile_name . "." . $randval;
if ( ! _(at)_copy( $userfile, $tmpfile ) ) {
phpftp_top();
?>
<font color="#ff0000"><strong>Upload failed! Can't create temp
file?</strong></font>
...
thx, peter
php::bar PHP Wiki - Listenarchive