I have virtual domains setup on my linux apache server along with php. I have my php.ini include path setup like so:
; UNIX: "/path1:/path2"
include_path = ":/var/www/site1:/var/www/site2:"
Now, when i include a file from site2 such as:
include("config.php")...
I use SecureCRT to login to my linux box and start and monitor programs. When i start (hlds_run) it sends all the output to my secureCRT window on my windws machine (HLDS SERVER STARTED xx/xx/xxxx ect....). Now if i close the SecureCRT window on my windows machine and re-open it i no longer see...
This script works fine, until more that one ip is in the log file it creates. Then it only will return the correct number of hits if your the last ip in the log. Whats wrong? Why does it do that? I really can figure it out.
//**************************************
//
// Name: PhP...
ok im so lost. im now trying to use cgi.pm
all i want to do is retrieve the value in my quer string.
Here is what i got so far:
#!/usr/bin/perl
use CGI;
$query = new CGI;
print $query('test');
now if i pass test to it (test.cgi?test=1) shouldn't it return 1.
Im so lost.....
Great, ill check to see if I can get it to work later today.
As you can probably tell I haven’t written to many CGI scripts. Actually this is my second attempt at one. If I had known about CGI.pm or how to use it I would have. I just searched the web and found, what I thought, was standard...
These are my 2 paths:
"datafile=/var/www/html/pageripper/sssd.dat"
/var/www/cgi-bin/pageripper/fetch.cgi
This is what i tried but its not passing the proper var over.
export CONTENT_LENGTH=62; echo "datafile=%2Fvar%2Fwww%2Fhtml%2Fpageripper%2Fsssd%2Edat" |...
Im looking for a way to auto execute a cgi scipt on my linux mandrake apache webserver ever 15 min.
I know the cgi scipts can be execute simply by typing the name of the script at the command promt. Im not sure if there is a command u could use to do this or if there is a program i can...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.