RE: [PHP] order by

2004-01-27 Thread Thomas Svenson
christian tischler wrote: Is there a way wuth php to create a list ordered by more than one column like in excel or access. something like ORDER BY points AND score You might want to look at GROUP BY command too http://www.mysql.com/doc/en/Group_by_functions_and_modifiers.html /T -- PHP

RE: [PHP] How to prevent duplicated values?

2004-01-26 Thread Thomas Svenson
BAO RuiXian wrote: Radwan Aladdin wrote: I want to prevent mySQL from storing the same value in a specified field (Username).. so how can I do it? Make it field UNIQUE. That's the easy method, but usually not very smart. It only causes MySQL to generate an error which you then have to take

RE: [PHP] How to prevent duplicated values?

2004-01-26 Thread Thomas Svenson
Radwan Aladdin wrote: But I'm using VB OCX file to show the result... I tried the UNIQUE and it worked greate! So do you mean I should use other ways? If it works, then great. The problem, as I can see it, is if you have a form where a user applies for a user account (I assume that since the

[PHP] PHP and Apache 2 (Was: Ver 5.0 Questions ...)

2004-01-22 Thread Thomas Svenson
Mark Charette wrote: If you read through the archives you'll find it isn't so much that PHP is the problem per se, but many of the PHP modules. If you use the multi-threading model of Apache 2 (the raison d'etre for using Apache 2 for most people) then all the modules have to be thread-safe,

RE: [PHP] PHP 5 Book

2004-01-22 Thread Thomas Svenson
Donald Tyler wrote: Anyone know if Rasmus (or anyone for that matter) is writing a book on PHP 5? And when it might be available? I bought Core PHP Programming, 3rd edition. It is written by Leon Atkinson together with Zeev Zend Suraski. The foreword is by Andi also Zend Gutmans. It covers

RE: [PHP] libphp4.so for Roxen

2004-01-22 Thread Thomas Svenson
Dan Egli wrote: Except that a lot of software, including the Webmail system I have(SquirrelMail), requires mod_php. If it was a simple decision I'd say oh well. But the fact is that I have several pieces of software that require mod_php. If it is not currently safe to run PHP as Roxen

RE: [PHP] PHP and Apache 2 (Was: Ver 5.0 Questions ...)

2004-01-22 Thread Thomas Svenson
Chris Shiflett wrote: So, I'm not sure what documentation you're referring to exactly, nor am I sure that there would be a lot of support in updating it. This one: -8. Warning Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows. -8. You

[PHP] Design Patterns PHP5

2004-01-22 Thread Thomas Svenson
Got the book Core PHP Programming 3rd Edition, which covers PHP5. One thing that it talks about is that with, specially, the new oop model it will now be much easier to develop in PHP using Design Patterns (DP). Since that is new to me I have been searching for some easy reading to understand

RE: [PHP] Design Patterns PHP5

2004-01-22 Thread Thomas Svenson
Ray Hunter wrote: On Thu, 2004-01-22 at 14:31, Thomas Svenson wrote: Got the book Core PHP Programming 3rd Edition, which covers PHP5. One thing that it talks about is that with, specially, the new oop model it will now be much easier to develop in PHP using Design Patterns (DP). check out

RE: [PHP] libphp4.so for Roxen

2004-01-13 Thread Thomas Svenson
Dan Egli wrote: Hey folks. I'm new to the list and am hoping someone can help me out here. I use Roxen Challenger as my web server. I'd like to get PHP functionality like mod_php for apache. I downloaded the 4.2.2 tarball that my Linux distro uses (RedHat 9) and compiled it. It seemed to

RE: [PHP] Re: Ver 5.0 Questions ...

2004-01-12 Thread Thomas Svenson
Hi Chris, Chris TenHarmsel wrote: Well, we're interested in stability. I figured since php4 had been out for a while in stable form, it would be more stable than php5. Is this the case, or is there a good feeling that php5 will be considered stable in the next couple months? I've been

RE: [PHP] Countries, cities, states database

2003-12-18 Thread Thomas Svenson
Hi Chris, Chris Shiflett wrote: I like GeoIP: http://www.maxmind.com/ I'm in the search for something similar. Took a look at that site and it seems they want cash for everything. Is there any free resources available. It's of course possible to find the info on www.ansi.org and other

RE: [PHP] User/Pwd Management Package?

2003-11-25 Thread Thomas Svenson
Hi, I'm interesting in finding a PHP package that implements functions for managing user names passwords controlling access to specific parts of a site. Of course, free is best. But cheap is good. And, even not-so-cheap is fine, as long as it provides good functionality. Any pointers

[PHP] Add Reply-To to this list(s)

2003-11-25 Thread Thomas Svenson
Hi, It would be nice if the moderator of this, and the other PHP-lists could fix so the listserver automatically add a Reply-To header to all the mails. When I hit Reply my message would then automatically reply to the list and not the author. Less hassle for me when replying and less risk of

RE: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread Thomas Svenson
It Adds Nothing is absolutely false. Being able to automatically respond to the list adds more naturally expected behaviour. I remain steadfast in my opinion that automatically replying to the list is a much more natural option. My opinion is that this is a multi person discussion forum,

RE: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread Thomas Svenson
If you would stop using M$ Outlook and switch to a better mail client that supports mailing lists, your problem would be solved. I wouldn't mind that at all. What clients do you recommend for WindwosXP? I want a small client (note: I have to use Outlook for business purposes, but have the lists

RE: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread Thomas Svenson
- Edwin - wrote: What's the problem with the Reply All button? One problem is that people, like you did now, forget to delete the non list address. That makes me get two mail with the exact same content - one from the list and another directly to me. That is very irritating. /T -- PHP