IMP problem

Tomas TPS Ulej tps at freebsd.sk
Fri Jan 25 22:39:14 CET 2002


Mam taky celkom nechutny problem... IMP mi nie je ochotny pripojit
subor ;(

FreeBSD 4.2-RELEASE

apache-1.3.19_1     The extremely popular Apache http server.  Very fast, very c
mod_php3-3.0.18     PHP3 module for Apache

<?php define('HORDE_VERSION', '1.2.7') ?>
<?php define('IMP_VERSION', '2.2.7') ?>

Ked dam pripojit subor skonci to v tychto miestach (compose.php3)

/*
 * NOTE that PHP tempnam() doesn't use mkstemp() until PHP 4.0.3!
 * If using PHP 3.0.x, patch your PHP to use mkstemp(), to avoid
 * the possibility of a /tmp race.
 */
 if ($file_upload_size > 0) {
 if (!is_uploaded_file(safe_file($file_upload))) {
    break;  /* ignore attempt to spoof us; back to composing */
    }

Presne tym breakom ;( Premenna file_upload_size obsahuje realnu
velkost suboru a safe_file($file_upload) obsahuje cestu, do ktorej vie
Apache zapisovat

Nemate nejaku idea vo co go?

Inak take, ze /tmp ma

drwxrwxrwx  10 root  wheel     1024 Jan 24 22:59 tmp

--
TPS




More information about the Users-l mailing list