g00fy
02-11-2003, 10:42 PM
hello to all,
i have posted this problem on the cgi-fourm and on my news server as well, the latter saying to solve it using js but i'm not convinced
cgi forum post:
http://codingforums.com/showthread.php?s=&threadid=14353
i am trying to read the contents of a file into a textarea that i have on the admin console of my subscribe me script. the file i want to read in is NOT url acessable and simply contains email addresses. i have no problems reading it and creating a textarea using cgi/perl but what i want is for the information to appear on the textarea i already have on my console page and not create another page.
** should i be looking at js or perl (this is obviously for the perl users among u) ?
the event is 'onclick' of a form button.
i simply want it to look into the file and display the contents one address per line in a textarea. i cant work out how to do this (with js) when the file is NOT url accessible.
the file is already defined in my cgi script, thats why i went for cgi to display it.
kind regards,
g00fy
i have posted this problem on the cgi-fourm and on my news server as well, the latter saying to solve it using js but i'm not convinced
cgi forum post:
http://codingforums.com/showthread.php?s=&threadid=14353
i am trying to read the contents of a file into a textarea that i have on the admin console of my subscribe me script. the file i want to read in is NOT url acessable and simply contains email addresses. i have no problems reading it and creating a textarea using cgi/perl but what i want is for the information to appear on the textarea i already have on my console page and not create another page.
** should i be looking at js or perl (this is obviously for the perl users among u) ?
the event is 'onclick' of a form button.
i simply want it to look into the file and display the contents one address per line in a textarea. i cant work out how to do this (with js) when the file is NOT url accessible.
the file is already defined in my cgi script, thats why i went for cgi to display it.
kind regards,
g00fy