Re: [PHP] Link Exchange Robot

2001-02-14 Thread Michael Kimsal
There are modules in CPAN that do some of this - the camel book I think has a chapter on that. Oreilly also has/had a book out regarding writing robots and such. Sample code should all work for perl - switching to PHP if you want/need shouldn't be too hard. Ben Ocean wrote: > Hi; > There's a g

Re: [PHP] need better solution

2001-02-14 Thread Michael Kimsal
What version of PHP are you using? If there's a syntax error in our statements, it stops execution, just like ASP. There are error_reporting levels you can play with, and have errors trigger certain functions to handle the errors gracefully. Christian Dechery wrote: > I need a better solution

Re: [PHP] PHP vs JSP

2001-02-14 Thread Michael Kimsal
Not really a JSP/PHP issue, but you mention that there's another developer. Are you in a bidding war with this person? If you're vying for business, don't get into putting JSP down, not out of hand anyway. Simply state the benefits that PHP has to offer. Our machines may be weird, but we've fou

Re: [PHP] Connecting to MsSql2000

2001-02-09 Thread Michael Kimsal
Set up an ODBC DSN in your control panel and use PHP odbc functions. Brandon Orther wrote: > Hello, > > Does anyone know how I can get PHP4 to connect to Microsoft SQL server 2000? > > Thank you, > > > Brandon Orther > WebIntellects Design/Developme

Re: [PHP] Converting CFML to PHP

2001-02-09 Thread Michael Kimsal
I didn't see the original post before, but this is interesting. It's not often we hear of people switching FROM CF to PHP. It must happen, but I can't think of too many companies that I know using CF who would "throw away" that investment, so to speak. Kevin, could you shed some light on why th

Re: [PHP] Seeking a SuperHost

2001-02-07 Thread Michael Kimsal
You're setting one what up yourself? A hosting company? Or just a hosting situation for yourself? Won't get much play here, but anyone looking to do anything serious should undoubtedly invest in a dedicated server of their own. Hire another company to host and manage it, but have it to yourself

Re: [PHP] Alarm/Timer in PHP??

2001-02-06 Thread Michael Kimsal
No. PHP simply executes a script when it is called by something. An option would be to an external 'something' automatically call PHP periodically. At that point, the script that is invoked could do periodic maintenance (check DB, warn you if date in MYSQL is < 1 week, etc.) We have a service

Re: [PHP] Learning MySQL

2001-02-04 Thread Michael Kimsal
I'd second Sean's endorsement of the New Riders book. I generally am a fan of Oreilly books, but I can't figure out *what* was going on there with the Mysql book. It's actually mysql and msql covered in one book, with less docs than you can get online, from what I saw, and seemingly very little

Re: [PHP] Apache and PHP

2001-02-04 Thread Michael Kimsal
Do you normally have #!perl.exe as your shebang? Normally I'd see something like #!/usr/local/bin/perl or #!/usr/local/bin/php not sure of pathing issues on Windows for that. #!c:\program files\php4\php.exe ? "Patrick L. Olson" wrote: > I must be missing something while I had no problem gett

Re: [PHP] I should apologize

2001-02-04 Thread Michael Kimsal
Lux wrote: > I don't mean to bash php in any way (as in the Ruby plugs in my last > post). I use it because it has so many advantages over other more > system-oriented not web-oriented languages for this type of work. It's > fantastic. > Yes it is. :) > > I see so much enthusiasm on the we

Re: [PHP] db paging with MS Sql

2001-02-04 Thread Michael Kimsal
AFAICT there is no 'LIMIT' feature in MS SQL products (TOP and supposedly BOTTOM, but BOTTOM has never worked for me and TOP doesn't seem to work on all versions). How is metabase handling this? Pulling everything, looping thru, and only returning the requested rows? Yes, I could log in/downloa

Re: [PHP] db paging with MS Sql

2001-02-04 Thread Michael Kimsal
I'm pretty sure there's no other way to do it but to read them all in and only display what you need. AFAIK, MSSQL doesn't support paging itself, but relies on the ADO driver to do this. If you make an reference to an ADO object in VBScript, you can set how many rows are in a 'page', then tell i

Re: [PHP] contracting & consulting (was "[PHP] Pricing for PHP programming???")

2001-02-01 Thread Michael Kimsal
Benjamin Munoz wrote: > Great thread. When I was changing jobs in April of 2000, a recruiter told me > that PHP is "cool and all", but there is zero demand for developers of PHP > web apps (in Los Angeles). Although I've been very productive developing in > PHP, he advised me to learn something

Re: [PHP] Pricing for PHP programming???

2001-02-01 Thread Michael Kimsal
[EMAIL PROTECTED] wrote: > > Just an observation from some people I know in the USA - they charge > whatever they can get away with. > How about honestly charging what you think you are worth ? > Knowing how to use php means nothing - but if you know it well you will > be worth a lot. > Slight

Re: [PHP] Pricing for PHP programming???

2001-01-31 Thread Michael Kimsal
I get flamed for this sometimes, but we don't normally charge an hourly rate for a project. After-project maintenance, yes, but for an initial project we normally quote a fixed price. The price will cover a minimal hourly rate to cover our costs, but we don't normally cap it on the top by sayin

Re: [PHP] where to get musql for windows NT

2001-01-31 Thread Michael Kimsal
mysql.com kaab kaoutar wrote: > Hi! > where can i get mysql for NT? > thanks > _ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubs

Re: [PHP] verify that email exist ?

2001-01-30 Thread Michael Kimsal
It's close, but it won't ALWAYS tell you if in email is "deliverable". Many configurations (some I've used in the past) *accept* mail for any address, and only later, if the delivery mechanism can't/won't deliver it locally, will it get bounced back as 'undeliverable'. But in *some* cases, classe

Re: [PHP] Microsoft SQL server 7

2001-01-26 Thread Michael Kimsal
"Thor M. Steindorsson" wrote: > Excellent answer... > Thanks. > somewhat when you're asked > "Can you tell me where the Bakery is?" > and you say > "Yes, I can." > Not quite the same thing. The poster may have simply wanted to know if it was possible. "I was just wondering if it is possi

Re: [PHP] Microsoft SQL server 7

2001-01-26 Thread Michael Kimsal
yes it is Brandon Orther wrote: > hello, > > I was just wondering if it is possible to connect to Microsoft SQL server > 7.0 with php4? > > Thank you, > > > Brandon Orther > WebIntellects Design/Development Manager > [EMAIL PROTECTED] > 800-994-6364

Re: [PHP] "Authenticating" across sites/servers

2001-01-24 Thread Michael Kimsal
Had another thought about this... Have someone register against the first site - have it create a quick key value, and store it locally. Pass that via GET or POST to one of YOUR sites. Have your server hit the first server with this key. The first server would authenticate the validity of the

Re: [PHP] "Authenticating" across sites/servers

2001-01-23 Thread Michael Kimsal
"Boget, Chris" wrote: > > One other thing that I forgot to include in my previous message as > a concern of mine and it relates to the above. If we did it that way, > > someone who was listening to a port on the client's server, or who > came by later to use the same machine the client was usi

Re: [PHP] "Authenticating" across sites/servers

2001-01-23 Thread Michael Kimsal
Have the user log in to/authenticate against the first server. That server generates a key, based on combining the username and a private key known to the authenticating server and your servers. Pass that back to your servers in a URL - cookie wouldn't work, but the key in the URL should be suffic

Re: [PHP] What "PHP" Stands For....

2001-01-22 Thread Michael Kimsal
The one that is easiest to explain to clients is 'Professional Hypertext Preprocessor' They don't get confused with the recursiveness of PHP Hypertext Preprocessor, and it has the word "professional" in it. The recursiveness, like GNU meaning 'GNU's Not Unix' (or so I've heard) would drive them

Re: [PHP] convert ASP to be PHP

2001-01-22 Thread Michael Kimsal
Many thoughts... If there's anything advanced going on in the SQL7 code, you'll have a rough time moving to mysql. There are just things Mysql doesn't have which sql7 does. Try using a bridge to continue using the sql7 machine from linux, and plan a more gradual port to another db platform la

Re: [PHP] CF vs PHP for Creating PDF's

2001-01-21 Thread Michael Kimsal
We are doing some PDF work for a client in PHP. Not quite sure how many 'tags' CF has, but, although there are many, it's not an easy thing. Lots of 'exact positioning' for everything, and we ended up writing some routines ourselves to handle textboxes and such. You'll need to invest a bit of t

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 h

Re: [PHP] phpwebhosting.com

2001-01-17 Thread Michael Kimsal
"Sites hosting illegal files, porn, warez, file archives or other "download-only" sites are not accepted. " Pretty much every site I've ever done or gone to is primarily a 'download-only' site. Yahoo - I rarely upload anything to them. Google? I download tons of data from them. g

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. "Ri

Re: [PHP] Redhat 7 problem and fix

2001-01-16 Thread Michael Kimsal
Lynch 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

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 DB

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] 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 dir

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 - po

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 a

Re: [PHP] Templates

2001-01-13 Thread Michael Kimsal
ng the set of page > object's first, or can you only do this in templates? > > regards, > andrew > > On 1/13/01 7:06 PM, "Michael Kimsal" <[EMAIL PROTECTED]> wrote: > > > > > > > [EMAIL PROTECTED] wrote: > > > >> I looked a

Re: [PHP] Templates

2001-01-13 Thread Michael Kimsal
[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 > $file = "111" > and there is a template "template.txt" > and it contains > "file #$file is blahlah" > > how can I make that a template? > > Th

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

2001-01-13 Thread Michael Kimsal
We've used local director in the past, as well as the 'f5' product (big IP? - I forgot the company name). Maybe it's 'big ip' from f5. Shows you how much we think about it - it just does it's job. As others pointed out, you can go with a software version under Linux, and I think W2k enterprise h

Re: [PHP] APC Alternative PHP Cache Release Announcement

2001-01-12 Thread Michael Kimsal
George Schlossnagle wrote: > I'd like to announce the release of the APC Alternative PHP Cache > http://apc.communityconnect.com/ . APC works by caching the scripts in > shared memory post-compilation to effectively eliminate the overhead of > parsing and compilation. APC was developed as a c

Re: [PHP] Shopping Cart Schema - Sessions

2001-01-11 Thread Michael Kimsal
Paul K Egell-Johnsen wrote: > Alexander Wagner wrote: > > > But did you know that for reasons of privacy it is officialy it is not > > allowed to set a cookie without asking in germany? (no one cares or even > > tries to enforce it, but thats not the point) Why don't they make it illegal to ru

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] w

[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] Shopping Cart Schema - Sessions

2001-01-11 Thread Michael Kimsal
Paul K Egell-Johnsen wrote: > JB wrote: > > > > I also forgot to mention. I am leaning towards using GET to send the session > > ids. Many people have told me that customer penatration decreases, some > > Which people? What facts do they have to support their claims? Is this a > bigger problem

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 -

<    1   2   3   4