Posted by Jerry Stuckle on 11/18/42 11:43
Barkster wrote:
> Well I think I figured it out, it must be all relative to the upload
> file. I thought the path was relative to the root. This seems to have
> fixed it for me
>
> $file = '../../After.jpg';
> $newfile = '../../beta/files/TestMe.jpg';
>
Or,
$file = '/After.jpg';
Yours is a relative path; precede it with a / to get the absolute path to root.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|