>
> Why do you need to store them there? If you can answer that for us, we
can give you much better
> advice on how to secure it.
Good point I should have included in the question itself.
Well many time we don't get acess to directries outside the website root.
Expecially in case of shared ser
Brian wrote:
>
> Anyway, there are a few ways you can do it. First is to use the built
> in function chomp(). It removes new line chars from the end of a
> string. The other way you could do it is with a regexp. Something
> like:
>
> $foo =~ s/\s$//;
you should use
s/\s+$//;
instead, sinc
There is an old saying. Give a man a fish and feed him for a day.
Teach a man to fish and feed him for a life time. Instead of us just
telling you a regexp to do it, you should really learn regexps since
they are what perl is all about. I highly recommend O'Reillys
"Mastering Regular Expression
Hi All!
I try to using CPAN module HTML::Validator and have some problems. May be
you can help me ;)
In module's description written (for part where constraint has been
described):
--
constraints
This is a reference to an hash which contains the constraints that will be
used to check wheter or
Hi People,
I need to remove all new line character from a string. Can you please
let me know. This is to use for
a flat file. When i try to store from a textarea input to a flat file,
it has many new line character from the input. Therefor, when retrieve
them back from the flat file the data orde
--- Rajeev Rumale <[EMAIL PROTECTED]> wrote:
> I need to store some uploaded files from the "visitors" into some
> directories which are inside website root.
Rajeev,
Why do you need to store them there? If you can answer that for us, we can give you
much better
advice on how to secure it.
Che
This is a very different security question. Basically I think there are two
major classes of solution.
One is based on randomness and the other is based on a harder core ACL
check in the CGI itself and requires the CGI control access to the file
more tightly.
In Detail:
One way which isn't t
Has your set-up defined Perl extension types within IIS?
I haven't done this manually on 2K but in IIS 3 you can update it through
the system registry under HKEY_LOCAL_SYSTEM
\system\CurrentControlSet\Services\W3SVC\Parameters\Script Map.
On IIS 4 you can use the 'Internet service manager'. This i
Hi all,
I actually combine both of these suggestions. I have my passwords stored
seperately. In fact, I tend to put ALL database functions in one perl module
or PHP include file outsite the docroot. It adds an extra level of
abstraction when I'm writing my CGI/PHP code. It also means that