[PHP-WIN] Making Maintainable Software

2001-05-24 Thread Dickerson, Monty
Thank God those old days of catering to the PC are GONE.. ?.. and now we can cater to the developer, or more accurately the poor sucker 12-18 months later who has to maintain our code !!! I left perl cgi hacking because perl is a "write once" language; I could hardly even maintain my own code 1

[PHP-WIN] RE: dual web servers?

2001-05-22 Thread Dickerson, Monty
You can only have one service listening to any TCP port at once, so you'd have to bind IIS to a different port number (say, 8080) than Domino R5; this is not difficult. Same is true for SSL (if Domino uses 443, then use another port for IIS https). There's no reason (assuming you have sufficient

[PHP-WIN] LDAP and M$ Exchange 5.5 :: It's Not Happening.

2001-05-21 Thread Dickerson, Monty
John, et.al., It appears that to do management of recipients on Exchange Server will require using Microsoft COM and Microsoft ADSI; not just LDAP. Micro$oft embraced and extended LDAP, so that LDAP is a 2nd class protocol that can't do everything. You have to do things the M$ way on M$ produc

[PHP-WIN] LDAP and M$ Exchange 5.5

2001-05-21 Thread Dickerson, Monty
Thanks for this tip! I ran some queries on the Microsoft Support Knowledge Base for Exchange 5.5, but found NO information or examples of how to use LDAP with Exchange to do what you say. Would you point me to a URL, or what keywords to search on, or towards some resources which provide

[PHP-WIN] Newbie advice :: Local User Groups are good

2001-05-18 Thread Dickerson, Monty
> From: Matei Mihai [mailto:[EMAIL PROTECTED]] >I subscribe to Svensson opinion regarding Afan questions. > I think that some of the people using this list should have a > little more common sense. I am tired of those stupid > repeating questions. When I became a member I was able to > rea

[PHP-WIN] perl dbi

2001-05-16 Thread Dickerson, Monty
Tim Bunce, author of the Perl DBI, shares your reasoning. In the spirit of perl (there's more than one way to do things), he offered both a virtualized error message system (ODBC-like) and also the proprietary DB's error numbers and messages. Of course, people used the proprietary error numbers

[PHP-WIN] the /php/pear/DB abstraction

2001-05-15 Thread Dickerson, Monty
Before I had difficulty using the pear/DB database abstraction (which comes with php since 4.04p1 at least) and had asked the list about it; the problem was merely a permissions issue. It works fine, and is documented inline. However, the pear/DB class needs enhancement to better report error me

[PHP-WIN] LDAP By Example

2001-05-11 Thread Dickerson, Monty
HOWDY Can anyone point me toward any opensource projects for an LDAP explorer/client written in php? And/or a book with a good chapter on using LDAP from php (not Hughes' cookbook)? Regards, Monty Dickerson -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PR

RE: [PHP-WIN] Persistent DB Connections with CGI - Via Java...

2001-05-09 Thread Dickerson, Monty
Tim-- 1. Because we like php; it's a faster rapid development environment than any of the environments you mentioned and has much shallower learning curve, hence developer assistants cost less :) and are easier to find. 2. Because there's a ton of cool software in the php language out there we w

[PHP-WIN] Persistent DB Connections with CGI - Via Java...

2001-05-09 Thread Dickerson, Monty
The Problem: php only runs reliably as a cgi on Windows, so it lacks static DB connections. Idea: Make all DB queries through a JavaBean, which uses a pool of shared JDBC connections. Abstract this behind a php API (class with methods) to hide its complexity. Surely somebody has thought of th

[PHP-WIN] anti-advocacy: Larry Seltzer, pcmag May'01 pub.

2001-05-08 Thread Dickerson, Monty
Today boss comes in and says, "Seen pcmag's story about php? says it is bad." Argh: http://www.zdnet.com/products/stories/reviews/0,4161,2711724,00.html What's the scoop on Larry Seltzer anyway. You here, Larry? His review is rather 1-sided, negative. Not good for free software's encroachment

RE: [PHP-WIN] Javascript

2001-05-03 Thread Dickerson, Monty
John, ?: are you setting a Content-type header in your php script which outputs text/javascript > -Original Message- > From: Ignatius Teo [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 02, 2001 10:45 PM > To: 'John'; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] Javascript > > > Th

[PHP-WIN] /pear/DB.php (with mssql)... docs? examples? usage help? thx!!

2001-04-30 Thread Dickerson, Monty
Howdy! Is anybody using class DB.php (distributed in the pear directory of every php4 distribution)? If so, please point me to some documentation and examples of this well written class! I'm having trouble using it; When I run the following code ... >> prepare('SELECT * FROM Schools'); $r

[PHP-WIN] sticky sessions :: Load Balancing :: RE: session tracking across a server farm

2001-04-30 Thread Dickerson, Monty
Kelvin, The trick you need is called 'sticky sessions'. Which are you using to balance the load on your server farm? . Cisco LocalDirector . Dell BigIP . An RFC2391-complaint LSNAT router . Linux 2.4 iptables . Redundant DNS entries (not effective) . Microsoft Windows 2000 Advanced Serve

RE: [PHP-WIN] PHP, network shares, and IIS5

2001-04-30 Thread Dickerson, Monty
Howdy Paul. You'd think that running scripts from a network share wouldn't be all that different from pulling static files, but, it is. Recall that the NT LocalSystem metauser under which IIS runs is not allowed to access network stuff for security reasons. Therefore for IIS to get to network s

[PHP-WIN] ?: Development ?: PHP 4.0 on Windows XP with Apache 2.0.17

2001-04-28 Thread Dickerson, Monty
I noticed that there doesn't seem to be much focus on making PHP4 stable as an ISAPI under pre-.NET Microsoft IIS using the Microsoft SQL Server DLL extension (works ok as a cgi though), or even on making Apache 1.3.x sapi stable (Apache 1.3 for Windows is forever branded "beta" so corporations st

[PHP-WIN] instead of php.ini (per directory values)

2001-04-23 Thread Dickerson, Monty
> you can also use registry per directory values. see > http://lists.netuse.de/list.php3?show_message=22&show_overview=php4win > > daniel beulshausen - [EMAIL PROTECTED] > using php on windows? http://www.php4win.de Hi Daniel: Q. Will this work with IIS 4/5 (and any other HTTP server besides A

RE: [PHP-WIN] include_path value

2001-04-22 Thread Dickerson, Monty
Giro, I agree with you that setting "ini" values via the Apache httpd.conf is obscure in the books and the documentation. However, that's what you need to do, *instead* of setting all of your ini stuff in the C:\windows\php.ini file; indeeed you do not even need a php.ini file at all! Answer

[PHP-WIN] function email_robustly($recipient, $subject, $message, $headers, $smtp)

2001-04-17 Thread Dickerson, Monty
function email_robustly($recipient, $subject, $message, $headers, $smtp) { $er = error_reporting(E_ERROR); $success = mail($recipient, $subject, $message, $headers); $current_smtp = reset($smtp); while (!$success && $current_smtp) { ini_set('SMTP',$current_smtp);

[PHP-WIN] In case of smtp failure :: Alternate SMTP server use :: how?

2001-04-16 Thread Dickerson, Monty
If the mail() function returns FALSE indicating failure, I would like to fail over to an alternate SMTP server. But, the smtp server is specified in the php.ini file, not as a parameter to the mail() function. Any ideas? Monty -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe,

[PHP-WIN] Mozilla PHP/JS Integrated Development Environment

2001-04-14 Thread Dickerson, Monty
Hey, just read (on Mozilla.org) about ActiveState's new Komodo IDE built on Mozilla. http://www.activestate.com/Products/Enterprise/ASPN_Komodo/index.html#featur es Seems ActiveState doesn't like PHP (they're a Python/Perl shop); too bad. idea: An IDE for PHP built on Mozilla might be a good Ze

[PHP-WIN] Load Test (CGI vs. ISAPI)

2001-04-10 Thread Dickerson, Monty
When you perform a load test, such as with Allaire ServletKiller or Apache JMeter, you will see that a CGI solution does not scale well under load. If your service load is normally not high, then this is only a concern if someone were to mount a denial of service attack against you merely by runn