Re: [PHP] Quick Poll: PHP 4 / 5

2005-09-14 Thread Oliver Grätz
Richard Lynch schrieb: [...] Some of my sites are on 5. Some are on 4. I can't tell a difference. That's what I am evangelising. People seem very concerned about backward compatibility issues that _almost_ never come up (hell, the problems of PHP 4.3.x - 4.4 are more serious than 4-5!).

Re: [PHP] php/mysql object id question..

2005-09-14 Thread Oliver Grätz
bruce schrieb: but then, i'm starting to realize that there's probably a great deal of 'opensource' code that's in use that hasn't been thoroughly vetted. 1. Constructors cannot explicitly return anything because they always return the new object. 2. OpenSource project and the code in them:

Re: [PHP] php/mysql object id question..

2005-09-14 Thread Jasper Bryant-Greene
Oliver Grätz wrote: 3. Yes. One can abuse exceptions to return something in a constructor. Just another argument against exceptions ;-) OK, it's unorthodox, if you absolutely need to do that, do it and tell nobody *g*. This is not abusing exceptions. If you throw an exception then the

Re: [PHP] Quick Poll: PHP 4 / 5

2005-09-14 Thread Ryan A
Hey everyone, I'm the original guy who started this thread, now that it has taken a totally different curve from what I originally wrote, kindly dont forward your reply to me and the list, the discussion is good though,I just dont need two copies of it :-) Cheers, Ryan -- PHP General Mailing

Re: [PHP] mysql query

2005-09-14 Thread Stephen Leaf
On Wednesday 14 September 2005 07:36 pm, Jesús Alain Rodríguez Santos wrote: I have a table colum in mysql with two fields: day and month. I would like to know if it's possible to make a query where I can determine if exist days before to a selected day, for example: if I have in my table:

Re: [PHP] Re: .htaccess

2005-09-14 Thread blackwater dev
Yes, I had already changed the AllowOverride. It might be php as I get this in my logs: [Wed Sep 14 20:04:46 2005] [notice] caught SIGTERM, shutting down PHP Warning: PHP Startup: Unable to load dynamic library './php_mcrypt.so' - ./php_mcrypt.so: cannot open shared object file: No such file or

[PHP] ldap_add errors

2005-09-14 Thread Jeff Loiselle
Hello, According to the PHP documentation for the ldap library, ldap_add() returns a boolean value. However, if there is an error, it immediately throws a Warning to the browser with display_errors on. I would like to do this: $result = ldap_add($ldap, $dn, $array) if (!$result) {

Re: [PHP] Quick Poll: PHP 4 / 5

2005-09-14 Thread Stephen Leaf
On Tuesday 13 September 2005 05:52 pm, Ryan A wrote: [x] I never work with PHP 4 anymore, all my work is with PHP 5 so far I've not found any hosts that do PHP5, however I do all my own hosting anyway. I've switched to use PHP5 because I was interested in doing XSL, and the concept of doing

[suspicious - maybe spam] [PHP] [suspicious - maybe spam] Re: [PHP] RE: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] RE: Issues with News sites again...

2005-09-14 Thread Death Gauge
Just for the record. I'm a professional C++ programmer and I know to initialize variables before I use them. Secondly, I've taken into account what has been said but all I keep seeing is guys saying that not initializing the variables opens up security issues. Which is just agreeing with what

Re: [PHP] Quick Poll: PHP 4 / 5

2005-09-14 Thread Manuel Lemos
Hello, on 09/14/2005 08:20 PM Richard Lynch said the following: On Tue, September 13, 2005 7:50 pm, Manuel Lemos wrote: I also am a bit surprised for the tremendous lack of interest to upgrade to PHP 5. Ok, I expected that many people would not want to upgrade due to the nightmare of dealing

Re: [PHP] Quick Poll: PHP 4 / 5

2005-09-14 Thread Manuel Lemos
Hello, on 09/14/2005 08:26 PM Oliver Grätz said the following: In theory those are the only changes. In practice, besides the officially admitted changes, there are also the bugs that were not yet discovered or fixed. Examples? Links? More information on this? The fact is that on

[PHP] PDO for PHP 4 (was Re: Quick Poll: PHP 4 / 5)

2005-09-14 Thread Manuel Lemos
Hello, on 09/13/2005 10:29 PM Oliver Grätz said the following: Furthermore, PHP5.1 will introduce PDO which unifies this database interface for all db systems. It's a native database abstraction layer. NEWSFLASH: PDO already exists for PHP 4: http://www.phpclasses.org/pdo Despite of that, I

[PHP] To set mail priorities

2005-09-14 Thread suma parakala
Hi Can anyone tell me how should I set mail priorities using mail command in php Thanks Suma _ Get your own space on the web. Logon to MSN Spaces. http://spaces.msn.com/?mkt=en-in Share files, photos, ideas etc -- PHP General

[PHP] readdir() and files with numbers

2005-09-14 Thread sub
I'm having a really weird problem. My code works, unless the images start with a number, then I get a 500 error. If they start with a letter it's fine. some example of problem files: 178_image.jpg 0005396C.jpg the whole reason I wrote this code was so that I wouldn't have to rename all my

<    1   2