D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Perl CGI question - stumped

 

On 19/12/05, mike@xxxxxxxxxxxxx <mike@xxxxxxxxxxxxx> wrote:
> Processing the file locally (apache running on localhost). Without the
> full path I cant run ny commands on the file.

You could try a cheeky trick of using a file form field, in a normal
(not multi-part mixed) form and accessing the full filename/path
through javascript - setting a hidden field with it.

Your problem is that the cgi parameters are set by the browser and
firefox et al don't always include the full file path of a file. You
might just be better off typing it or copy and pasting from the file
form field.

A.

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html