mychl
06-13-2002, 10:42 PM
What I did was made a script to generate thumbs and an index.html in a directory of JPG's. I also have a script that lets users upload images via http to an upload directory on my server.
What I'm trying to do is call a script (perl) that will delete all thumb*.jpg files as well as *.html images gefore re-running the script to generate the thumbs etc...
I'm doing this to try and make it easy for people who upload an image, to view it immediately in a thumbnailed table.
I'm also having difficulties getting my delete and regenerate script to redirect? to an html file once the cgi is done.
Anyone got any tips or suggestions for me? In my apache error log, I see that permission is denied on the image files I'm trying to unlink... well, here's my script if anyone wants to see it....
script (http://mychl717.com/linked/refreshupload)
What I'm trying to do is call a script (perl) that will delete all thumb*.jpg files as well as *.html images gefore re-running the script to generate the thumbs etc...
I'm doing this to try and make it easy for people who upload an image, to view it immediately in a thumbnailed table.
I'm also having difficulties getting my delete and regenerate script to redirect? to an html file once the cgi is done.
Anyone got any tips or suggestions for me? In my apache error log, I see that permission is denied on the image files I'm trying to unlink... well, here's my script if anyone wants to see it....
script (http://mychl717.com/linked/refreshupload)