[PHP] Once more, with feeling

2001-09-11 Thread billfarr
Dear All: Due to popular demand I've put the newest version of the Code Red detector on one of my servers in public, anonymous FTP. The URL is ftp://ftp.compuphrase.net/pub/codered ftp://ftp.compuphrase.net/pub/codered . After some research (annotated in the propaganda), I added the last 10

[PHP] Code Red Catcher

2001-09-10 Thread billfarr
Hi All! I had to unsubscribe for a little while due to the volume but did want to follow up on the Code Red catcher script. Anyone wanting a new copy of the script, please email me directly. I made a gob of changes to the original code, slimming it down some and improving the lookups just a

[PHP] Code Red Catcher

2001-09-10 Thread billfarr
Hi again, Everyone: I didn't expect such a response so quickly. With your indulgence, I'll quote the code in this message. I just found out that Outlook (which is what I'm forced to use at Volvo) won't attach .ida files and I *think* this list strips attachments in any case. I don't remember

RE: [PHP] new one is it ??

2001-08-21 Thread billfarr
DOH! Thanks for the heads-up, David. Here's the code I promised. My apologies! Bill ---8---8---8---8---8---8---8- ? /* Code red autoresponder does the following: - Checks the whois for the attacking host - Emails the offender's Internet

RE: [PHP] new one is it ??

2001-08-20 Thread billfarr
Title: RE: [PHP] new one is it ?? Hiya again, Erik: Here's the barely-tested but apparently functional Code Red detector. I added some variables at the top for configuring email destinations. The important change is that it will query ARIN, RIPE, and APNIC until it finds a reasonable

RE: [PHP] PHP and Perl script in same file?

2001-08-17 Thread billfarr
Not any convenient or secure way I've yet found. But I do have PHP pages that slip out and exec() a Perl script to grab specific results that I need. Anyone else? B -Original Message- From: Tom Beidler [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 4:46 PM To: php list

RE: [PHP] new one is it ??

2001-08-13 Thread billfarr
Way cool... with a bit of work, one could query ARIN, RIPE, and APNIC until an answer was received (that's what I'm modifying it to do) else die. With the timeout set to forever, what would we care if it takes a few extra seconds to go spy-out a potential

RE: [PHP] Re: PHP in corporate settings?

2001-08-09 Thread billfarr
Bjorn and Julio, you've got it right. I've now a contract with Volvo Aero Services for web design and multivalue database support. Ever since Volvo bought AGES, it's been a huge technological step backwards from Linux and PHP to M$ and ASP. The big companies DON'T CARE that M$ puts out a

RE: [PHP] subroutines?

2001-08-09 Thread billfarr
Hi again, As a new PHP convert, I ran into this same problem (below) yesterday while designing a form. ASP programmers (if they're THINKING) will use subs to keep if blocks tidy. In ASP, I'd use something like: If Request.ServerVariables( REQUEST_METHOD ) = GET Then DisplayForm Else

RE: [PHP] rename problem...

2001-08-09 Thread billfarr
Hi Martin, Question: who actually OWNS the document? Does it have your logname and group? If you're trying to do a rename from the server, remember that the server generally runs as apache or nobody... and to coin a phrase, nobody owns nothing. If you're trying to manipulate files in your

RE: [PHP] Return Adress

2001-08-09 Thread billfarr
Hey, there... I ran into this yesterday along with learning a heap more PHP. Adding a Reply-To: [EMAIL PROTECTED] header seemed to work fine. Hope this helps, Bill -Original Message- From: Jean-Arthur Silve [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 5:23 AM To: [EMAIL

RE: [PHP] RedHat 7.1

2001-08-09 Thread billfarr
Hey, Scott: I'm running RH7.1 myself. PHP sort-of came out the box when I installed the default server installation, as an Apache module. All's I had to do was make a PHP page (a timid echo 'hello';), throw it in the right directory, and *poof* it served. Astonished me, too. Seems as if when

RE: [PHP] Find and Replace

2001-07-30 Thread billfarr
It's also possible (if you're allowed to change the httpd.conf file) to put in a filesmatch directive, something like FilesMatch \.(htaccess|inc|log)$ Order deny,allow Deny from all /FilesMatch Then no-one can directly access files with those extensions. You can still include them (that doesn't

RE: [PHP] ODBC for UniVerse Database

2001-07-30 Thread billfarr
So I'm _not_ the only one still running UV :-))) Do you have the UV PDF's handy? There's a section on setting up the ODBC. If you don't have it, I'll mail you a copy. UV's ODBC works reasonably well, except that it takes a seat every time you instantiate a connect. Perhaps a better way of

RE: [PHP] ODBC for UniVerse Database

2001-07-30 Thread billfarr
WHUPS! Guess I should have asked if you were running UV on *nix or NT... it makes a difference. It's dead-easy on NT; merely tedious to set up on *nix... B -Original Message- From: Bill Farrell Sent: Monday, July 30, 2001 3:19 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE:

[PHP] PHP Execution Functions

2001-07-24 Thread billfarr
Hello all, I'm discovering the joys of PHP as supplied by RH on their 7.1 release. Actually, everything about it is SO much nicer than ASP or pure Perl. (Not to take anything away from either--PHP's just a LOT easier to get hold of!) I'm running PHP as an Apache module (default RedHat