|
|
 |
RE: FN-FORUM: This is driving me mad
date posted 2nd August 2005 18:54
Have you checked that $p and $i_name that you are concatenating contain
valid data to make a valid file name?
Dave.
___________________________________________________________
Dave Boulden, Director. DA Media Limited
web: http://www.da-media.co.uk/ Skype: callto://daveboulden
Tel: 01795 559456 Fax: 07092 011488
> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On
> Behalf Of PAMELA WHITTAKER
> Sent: 02 August 2005 19:16
> To: FN-FORUM / [EMAIL REMOVED]
> Subject: FN-FORUM: This is driving me mad
>
>
> I have the following bit of code duting a file upload
>
>
> echo filesize($res1);
> $res = copy($res1, $p.$i_name);
> echo filesize($res1);
> echo filesize($p.$i_name);
>
>
> echo filesize($res1) come out as 93605 but echo
> filesize($p.$i_name) is 0 - why? $res is true so the copy
> isn't failing.
>
> Thanks
> Pam
>
>
>
> --
> Freelancers, contractors earn more with Prosperity4 Call 0870
> 870 4414 or visit www.prosperity4.com and benefit from Inland
> Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|