CGI or PHP
We are starting to write a program that will cull xfer, mail, and httpd logs for traffic stats for name-based hosting and are slightly torn between cgi or php - anybody with file I/O experience have any input? It would be a one pass through each, reading each line, pulling user name (or resolving user to website) and writing results to a MySQl DB (localhost). My preference is PHP, but thought I'd check to see if I may be overlooking something..Thanks!
Chris Marks
KBS Web Hosting
http://www.netfronts.com
Mark Hensler posted this at 06:13 — 11th October 2000.
He has: 4,048 posts
Joined: Aug 2000
I've written something similar. Somthing like disk usage or something else 'Web Usage' related. I used PHP4. I don't care what those CGI phreaks say. You can still run shell commands in PHP.
Good Luck,
Mark Hensler
If there is no answer on Google, then there is no question.
Ken Elliott posted this at 16:57 — 11th October 2000.
They have: 358 posts
Joined: Jun 1999
We're not phreaks...just misunderstood.
Mike Fisher posted this at 19:16 — 11th October 2000.
They have: 429 posts
Joined: Jul 2000
Argh! Avast, ye CGI pig-dogs! We be takin' over yer ship!
RAISE THE PHP FLAG, ME MATEYS!
Ken Elliott posted this at 13:22 — 12th October 2000.
They have: 358 posts
Joined: Jun 1999
Come Get It
I can burn this place down....I can.
Mark Hensler posted this at 22:57 — 12th October 2000.
He has: 4,048 posts
Joined: Aug 2000
Pretty High Programmers use PHP
Cheap Geeky Interns use CGI
Seriously though, both laguages have there ups and downs.
Mark Hensler posted this at 22:59 — 12th October 2000.
He has: 4,048 posts
Joined: Aug 2000
Can some CGI person please montion the name of any forum that can run as fast as a PHP forum?
Well, can you?!
Rob Pengelly posted this at 01:14 — 13th October 2000.
They have: 850 posts
Joined: Jul 1999
Max ALbert, CGI is not a language .
Mike Fisher posted this at 03:03 — 13th October 2000.
They have: 429 posts
Joined: Jul 2000
Argh! Ye land lubber Pengelly, ye shall be the first of the scarvy dogs te be gutted! Onward, mateys!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.