Re: [PHP] Another Guru's Help Needed...

2001-01-19 Thread Michael Kimsal
Isn't this info in the HTTP_REFERER field normally? Dallas Kropka wrote: I need to grab the referring search engines keywords used in the search. I need to be able to determine what the keywords were, and what the engine was... (Lycos, AltaVista etc...). How can I do this, where can I

Re: [PHP] Variable Scope

2001-01-18 Thread Michael Kimsal
I find the VB way (or VBScript anyway) of doing functions backwards. My recollection is that if I call a function blah... x = blahfunction('cow') 'blahfunction' itself has to be defined *in* the function to get the value back. I can't even think of a good example, it's so foreign to me and I

Re: [PHP] Redhat 7 problem and fix

2001-01-16 Thread Michael Kimsal
wrote: {} inside of "" now does order-of-operations, I think... Something like that. It's in the docs somewhere. I thought this was a PHP3 - PHP4 change, not related to RedHat nor ereg in particular... - Original Message ----- From: Michael Kimsal [EMAIL PROTECTED]

Re: [PHP] FW: Cookies, Dammit!

2001-01-16 Thread Michael Kimsal
With due respect to your boss, PHP would make the site *more* compatible with people's browsers, without having to worry about which version(s) of javascript people have, or in fact if they even have it available. I'd pitch the accessibility angle, in your shoes, if nothing else. Good luck.

Re: [PHP] Perl-like DBI and generic SQL

2001-01-15 Thread Michael Kimsal
Dean Hall wrote: I read once on this list that PHP supports a DBI-like database access object (such as the one in Perl). Is this true? Does anyone know where I can find documentation for it? I can't seem to find it in the manual. Also, how do you all handle generic SQL for multiple DBMSs?

Re: [PHP] Templates

2001-01-14 Thread Michael Kimsal
Not too similar to the caching issue of template output - I maybe missing something, but at least in our case, *every* page made with templates has custom info re: the client (name, etc) which can't, imo, be cached, unless we started caching multiple bits of the templates then assembling them -

Re: [PHP] load balancing with php/apache?

2001-01-14 Thread Michael Kimsal
Wasn't directed quite at me, but I'll chime in nonetheless We used LocalDirector for awhile, with it's 'sticky bit' functionality, and it basically didn't work with AOL. I just looked at the coyote product and they claim it works with 'large ISP' proxies - maybe a veiled reference to AOL

Re: [PHP] logging page views, which method is better????

2001-01-14 Thread Michael Kimsal
Use a separate DB for something like this - have a data database, and a 'logging' database. We're setting up something similar - currently we have 2 databases for separate things, and will probably merge the first two datasets back into the main database, and turn the second one into a logger.

Re: [PHP] Templates

2001-01-13 Thread Michael Kimsal
only do this in templates? regards, andrew On 1/13/01 7:06 PM, "Michael Kimsal" [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I looked around the web for templates and founf FastTemplates. Not exactly what i was looking for thoug lets say I have $f

Re: [PHP] Templates

2001-01-13 Thread Michael Kimsal
I'm sure it could be done, just with a bit of planning. The notion of passing in sql results is not foreign - we do it sometimes to our own 'templates', but our templates are generally just HTML with a bit of PHP in there, whereas the initial PHP page is PHP with a tiny bit of HTML. If there's

Re: [PHP] AFTERBURNER - PHP CACHE

2001-01-11 Thread Michael Kimsal
Our initial tests showed ~10-20% speed increase on benchmarks where we just hit a page over and over, but not on all pages. The code is included, so people can see what it's doing, but it is most likely not as sophisticated as Zend's upcoming offering. Zend actually knows how everything works -

[PHP] Redhat 7 problem and fix

2001-01-11 Thread Michael Kimsal
We upgraded a box running RH6.2 to RH7. Same build process for PHP as before, but the ereg functions didn't work the same. ereg_replace("{cow}",$cow,$x); now needs to be ereg_replace("\{cow\}",$cow,$x); The {} are escaped now. Dunno what changed 'under the hood', but the only change we made

Re: [PHP] PHP makes sexy!

2001-01-11 Thread Michael Kimsal
But you SHOULD know what DOMAIN it's going to - [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] can all go to one account. It's not a case of setting up individual usernames to point to one account - mail for the whole domain could/should be routed to the one account. [EMAIL PROTECTED]

<    1   2   3   4