Getting content of a configuration file

2002-05-25 Thread Octavian Rasnita
Hi all, I want to use a configuration file for a script and maybe I look in the wrong direction. Please tell me if I have a better solution. I want to make a script that generates HTML pages. I already have the script but I need to manually enter the page title, the keywords, the description, a

Counters directory access

2002-05-25 Thread Octavian Rasnita
Hi all, Please tell me what rights should I set for the directory where I keep my counters. The counters for web pages should be writable by web page visitors. For the moment I put 777 rights for that directory but I don't know if it is a good idea. I don't want the visitors to be able to see

RE: Checking who called a cgi-script

2002-05-25 Thread Scot Robnett
Here is something I just hacked together to check domains...perl -c says the syntax is okay, but I didn't test it on a web server. You can also put IP addresses in the @good_domains array and I think it should work. Keep in mind that this by itself is *not* something that will guarantee security.

Re: Checking who called a cgi-script

2002-05-25 Thread Sebastian Nerz
Hy, inSite Internet Solutions schrieb: > > I usually do a combination of things. > > * You can check domains, but they can be spoofed, > so that in itself is not a cure. It's a start. How can I check this? > > * Does the site have a static IP? You can set >