On Mon, Dec 23, 2002 at 10:35:59AM -0600, David Gilden wrote:
PERL 5.6
OSX, Jaguar
Goal, to check against two different passwords.
I think my problem is the or is short 'circuited'
is there a way for an IF statement to test for both
values, so that either $secret_word or
David Gilden [EMAIL PROTECTED] wrote in message
news:r01050400-1023-E78ABED6164811D78F0D0003935B6868@[192.168.1.5]...
Holiday greetings,
I would like to be able to test for either of the two secret words
but it seems to fail, what am I missing?
Thanks
Dave
#!/usr/bin/perl
use CGI
Hello all,
Please tell me what file permissions should I use for a CGI script.
I don't want others users from that server to view the content of my scripts
because they contain passwords for MySQL databases.
If I chmod 755 the scripts, the other users will also be able to see the
files.
Can I
Hi,
At 24-12-2002 18:09 +0200, Octavian Rasnita wrote:
Please tell me what file permissions should I use for a CGI script.
chmod 755
Can I deny other users to see the content of the cgi-bin directory (chmod
700) and chmod 755 only the files?
Put a index.cgi in your cgi-bin directory that
This is going to depend somewhat on your setup, mainly what user the web server is
running as and what group it might be in. You could probably set your script to be
710 if your web server is in the same group as you but not the same user as you. Or if
you go to 711, then anyone can execute
--- Michael Kelly [EMAIL PROTECTED] wrote:
snip
Only and's short-circuit. Or's test every argument by necessity.
snip
Mike,
In just about every Perl script that has to read from or write to a
file, you will see a line similar to the following:
open (MYFILE, myfile.txt) or die Can't open
Hello, i have a program developed in perl but i need a script to make the
program find a hidden value in a html text document.
Ex:
body
...
input type=hidden value='6291587' name='class_id'
input type=hidden value='4' name='key5'
input type=hidden value='EF3854' name='11'
/font/form
I have a perl script which will work on my home computer, however, when
I upload the script to the hosting site I recieve an error concerning a
loadable object in GD.pm.
I assume this is because there is some module missing on the hosting
site. How do I determine what that is?
Here is the
I assume you are connecting to a database?
CGIs should have 500 permission and SHOULD NOT contain the password.
Instead write a perl module which return the database_handle and put that
together with the other modules (/usr/lib/perl5/5.8.0/). Then just
call the module in your CGI script.
No, I don't have a problem with the web page visitors but with the other
users that have accounts on that server.
They could use Telnet or SSH to view the files and directories.
They can see all my files if they have 755 permissions.
Teddy,
Teddy's Center: http://teddy.fcc.ro/
Email: [EMAIL
Yes I know these, but ... it seems there is no solution.
1. The web server is not in the same group with me, and if it will be made
to stay in the same group with me, the other users that have web pages on
that server will need to be added to that group.
2. I saw that I need to give read
I can't do that because I am not the root of that server.
I am just a simple user like all other users and I don't wantthem see my
files.
Thank you.
Teddy,
Teddy's Center: http://teddy.fcc.ro/
Email: [EMAIL PROTECTED]
- Original Message -
From: Richard KHOO Guan Chen [EMAIL PROTECTED]
Octavian Rasnita [EMAIL PROTECTED] wrote in message
002901c2abd3$c17cdcb0$[EMAIL PROTECTED]">news:002901c2abd3$c17cdcb0$[EMAIL PROTECTED]...
Yes I know these, but ... it seems there is no solution.
1. The web server is not in the same group with me, and if it will be made
to stay in the same
13 matches
Mail list logo