Hi Jamie, Hi all,
On Mon, 22 Oct 2001, Jamie McClelland <jmcclelland@...> wrote
><snip code example>
<snipped a load of my original message>
>> Not quite sure how to proceed here. We need a www value for the media
>> directory, and a file system value and an FTP value as well I think!
>Hi all - nice work Dave.
> FYI - a couple versions back I slipped in a new
>variable called ptconf["rel_wwwdir"] which is the directory relative to the
Yep, seen that.
> but I don't think this will help much in this situation.
Not if it has "../" in the path :-(
>I think that for version 2 we should really re-think all the ptconf values.
>Perhaps the answer is to use absolute paths for the media directory (both
>an ftp, and relative web path).
ftp path, relative url path, AND filesystem path. All ways in which we
may want to refer to a media file.
>For this version, I would rather not tinker too much.
>For now, I think a
>hack that would work is to change the value of the ptconf[ftppath] in the
>pt_config file. *AFter* running the setup program, I think that this
>variable will only be used to upload and delete media files. Therefore, you
>could change this value to be one directory up from your media folder.
>Then, your ptconf[media] value would simply be "media/".
I'll have to go away and think about that lot! <GRIN> I think it'll
work, not sure. :-)
d a v e