you need to escape the windows backslash:

$file = "c:\pic.jpg";

should be 

$file = "c:\\pic.jpg";

or 

$file = "c:/pic.jpg";

which will work the same

--
Maxim Maletsky
[EMAIL PROTECTED]



"Bartosz Matosiuk" <[EMAIL PROTECTED]> wrote... :

> hi
> 
>     can the string source in copy () looks like that: "c:\pic.jpg". If not
> than how should it look like.
> 
>     I'm not sure becouse script gives me "Unable to open c:\pic.jpg for
> reading: No such file or directory" but the file is there.
> 
>     and when i'm using $HTTP_POST_FILES['file']['tmp_name'] it returns me:
> 'Unable to open 'none' for reading: No such file or directory'.
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


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

Reply via email to