Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Does file upload work with modify.cgi?

Quote Reply
Does file upload work with modify.cgi?
Hello,

Just curious that if in LinksSQL the modify sscript will allow me to modify the image that I uploaded when I added a link to the site?

Thanks.

Jim Murray
PaintballCity.com
http://www.paintballcity.com
Quote Reply
Re: Does file upload work with modify.cgi? In reply to
Try it. Everyone has gotten different results, and if you've got file uploading working, your results may vary.



http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/

Quote Reply
Re: Does file upload work with modify.cgi? In reply to
Well does the file upload actually work for adding and modifying links?

Jim Murray
PaintballCity.com
http://www.paintballcity.com
Quote Reply
Re: Does file upload work with modify.cgi? In reply to
A number of people have gotten the file upload to work for adding files. I think there is some code and fixes posted. I don't specifically remember anyone talking about modifications, but recently some questions on changing the file uploaded were asked (and I don't remember the answers).

http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/

Quote Reply
Re: Does file upload work with modify.cgi? In reply to
Hi Ground Zero
In Reply To:
Well does the file upload actually work for adding and modifying links?
well..no it does not

In order to get the adding correctly you need to modify many pieces of code.

1. validation mixes up the attach id's
2. clicking resync ereases the entry of your upload path in the .def file
3. paige.cgi and nph-build.cgi have to be modified to handle the tags for the image(s)

the above problems have been discussed and solved in this forum.

4. modify this is where I am working right now. I want it to handle the attachements the same way as admin.cgi does.
Show posted attachement, click to delete, insert to add new, insert to overwrite.

regards, alexander

Quote Reply
Re: Does file upload work with modify.cgi? In reply to
with a few tweaks it worked..

one thing is that file uploads do not work with 'strict.pm'..

just comment out the line 'use strict;'

Jerry Su