First I would like to thank everyone who reponded to this thread. Your all
Great!
I took your advice and made these changes
//Just the relevant lines not in order
$DOXPATH = 'C:\\xampp\\htdocs\\dox\\'
// New DOXPATH
if (!move_uploaded_file($file['tmp_name'], '$DOXPATH\$file[name]'))
//
> -Original Message-
> From: Maciek Sokolewicz [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 05, 2008 2:07 AM
> To: php-general@lists.php.net; [EMAIL PROTECTED]
> Subject: Re: [PHP] error messaages - $DOXPath Wrong
>
> ddg2sailor wrote:
> > Hi
> >
ddg2sailor wrote:
Hi
Here are the error messages:
Warning: move_uploaded_file(C: mpp\htdocs\dox/th_dsc_076.jpg)
[function.move-uploaded-file]: failed to open stream: Invalid argument in
C:\xampp\htdocs\dox.php on line 40
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to mo
This is line 40
if (!move_uploaded_file($file["tmp_name"], "$DOXPATH/$file[name]"))
Sailor
--
View this message in context:
http://www.nabble.com/error-messaages---%24DOXPath-Wrong-tp20848918p20848948.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Maili
4 matches
Mail list logo