RE: passing page URL to SSI script

2003-03-11 Thread Peter Kappus
If you're using Apache, you can read from the magical environment hash to see what URL the script was called from. try this: $ENV{'REQUEST_URI'}; or print them all like so: print $_ . " " .$ENV{$_} . "" for(keys(%ENV)); I'm not sure how this behaves with other servers such as IIS, but it's prob

passing page URL to SSI script

2003-03-11 Thread javamaster
I am including the same CGI script as an SSI on several web pages. I need to know which page the script was run from (something like the javascript window.location variable). I want to be able to know if the script was executed from index.html, or contact.html, or products.html, etc. I cannot f

Re: Net::LDAP.pm

2003-03-11 Thread markyoung
> Can anyone tell me why I am receiving an error can't > locate Net/LDAP.pm in @ INC (@INC includes > /usr/lib/perl5/5.6.1 etc, etc etc, etc. Yes, this means that the module you are trying to "use" is not installed in any of the directories that are in the INC list. The module may not be instal

Re: Net::LDAP.pm

2003-03-11 Thread fliptop
On Tue, 11 Mar 2003 at 11:49, Susan Aurand opined: SA:Hello, Can anyone tell me why I am receiving an error can't locate SA:Net/LDAP.pm in @ INC (@INC includes /usr/lib/perl5/5.6.1 etc, etc etc, SA:etc. is net::ldap installed? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Net::LDAP.pm

2003-03-11 Thread Susan Aurand
Hello, Can anyone tell me why I am receiving an error can't locate Net/LDAP.pm in @ INC (@INC includes /usr/lib/perl5/5.6.1 etc, etc etc, etc. Thanks - Susan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Images in memory

2003-03-11 Thread Luinrandir Hernsen
I am writing in Perl, to create a web page. The CGI calls on itself repeatedly as you move on the map. I need to preload some small images in memory of the players computer. Javascript has a way of doing this, but since the cgi calls on itself, if I put the code in my cgi the images would only be r

RE: cgi security aspects

2003-03-11 Thread Bob Showalter
Skorpion wrote: > can you give me a pice of advice of security aspects creating cgi > scripts working with apache server on linux running 2.2.19 kernel - > any backdoors i should be aware of ? See the security resources on the CGI Meta-FAQ: http://www.perl.org/CGI_MetaFAQ.html > is there any cha

cgi security aspects

2003-03-11 Thread Skorpion
can you give me a pice of advice of security aspects creating cgi scripts working with apache server on linux running 2.2.19 kernel - any backdoors i should be aware of ? is there any chance to get a root password via badly writen cgi script - i used mysql and psql dbd pure perl modules with dbi 1.