in reply to writing to a file in a cgi script

cLive ;-) is right, it's the images path that's messed up. You are probably running your script out of cgi-bin and I highly doubt that your images are located in cgi-bin/images/, right?

Also wondering why you feel the need to use seek here...looks like it would work identically without it.

--Dave

Replies are listed 'Best First'.
Re: Re: writing to a file in a cgi script
by sidhartha (Acolyte) on Feb 08, 2002 at 15:49 UTC
    this is true but i'm using SSI so the images directory is relative to my htdocs directory. thanks for the tip on the seek, i'll see about getting rid of that