Topic awaiting preservation: ping from apache (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: |
posted 03-21-2002 18:51
WAMP |
Nervous Wreck (II) Inmate From: |
posted 03-21-2002 19:08
If you are using mySQL are you using php? I think php has a system command function, but it may not be safe to use if you don't check it for tainted data. But if it's just your list of ips, and a visitor can't use the page to change the script(he could if you used global variables or ones not in functions) then I think it would be safe. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 03-21-2002 19:08 |
Bipolar (III) Inmate From: |
posted 03-21-2002 19:16
W(indows) |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 03-21-2002 19:34 |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 03-21-2002 19:37
The poster has demanded we remove all his contributions, less he takes legal action. |
Bipolar (III) Inmate From: |
posted 03-21-2002 19:48
For those of you interested... |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 03-21-2002 20:13
The poster has demanded we remove all his contributions, less he takes legal action. |
Bipolar (III) Inmate From: |
posted 03-21-2002 20:48
Please, no disrespect intended... |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 03-21-2002 20:52
The poster has demanded we remove all his contributions, less he takes legal action. |
Bipolar (III) Inmate From: |
posted 03-21-2002 20:58
cool |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 03-21-2002 22:41
Yeah the exec or system command just basically drops you into your shell and runs commands as if you were at a terminal window. (How this works on Win2K is another issue but give it a try). Note that Windows ping is different from Linux ping (it only sends 4 by default). you may want to look at the scheduled tasks in progs>>accessories>>System Tools to see if this will work for you instead of cron. |