Re: upload file problems

From: Date: Tue, 13 Mar 2001 13:23:52 +0000
Subject: Re: upload file problems
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-43652@lists.php.net to get a copy of this message
On Mon, Mar 12, 2001 at 10:08:57AM -0800, Jerry Lake wrote: > copy($userfile, "/www/workbox/htdocs/audio"); > > I keep getting the following error. the directory exists and is chmoded to > 777, what am I doing wrong ? > Warning: Unable to create '/www/workbox/htdocs/audio': Is a directory in > /www/workbox/htdocs/upload.php on line 4 I'm no expert, but I would try adding a trailing slash. copy($userfile, "/www/workbox/htdocs/audio/"); -- Jason Stechschulte jpstech@unoh.edu -- if (instr(buf,sys_errlist[errno])) /* you don't see this */ -- Larry Wall in eval.c from the perl source code

« previous php.general (#43652) next »