Actually you're right about the file name/path problem. Mac browsers seem only to have the filename, and I don't know how that works, come to think of it.
Plus, as Mac file paths and names are quite happy to have slashes in them, any script that strips out everything up to the last slash is going to cause errors. Anyone want to look in CGI.pm to see how it does this?
I've got an idea, how about this:
- you have your content management system include a frame, to which your users can drag the image in question.
- Now JavaScript knows the current URL of that frame,
- You do some kind of smart JavaScript submit to your perl script that will include that URL.
Happy to help with the JavaScript.
--
($_=
' jjjjjjuuuuuuuuusssssssssttttttttt
annnnnnoootttttthhhhheeeeeerrrrrr
pppeeeerrrrrrrrrrrrllllllllllllll
haaaaccccccckkkkkkkeeeeeeeerrrrrr
' )
=~y
/[a-z]//s
;print;
| [reply] |