Re: [NEWBIE] Trying to create a function from an existing script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-01-28 at 14:41 +0900, Dave wrote:
> if ( move_uploaded_file($HTTP_POST_FILES[$name]['tmp_name'], $store_dir 
> . basename($HTTP_POST_FILES[$name]['name']) )

Try echoing $store_dir . basename($HTTP_POST_FILES[$name]['name'] before
uploading the file (before the move_uploaded_file function). It might
_NOT_ contain a slash between $store_dir and
$HTTP_POST_FILES["$name"]['name'].
 
-- 
Josip Dzolonga,
dzolonga at mt dot net dot mk

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux