Re: [PHP] strange mysqli error

2006-08-23 Thread Richard K Miller
On Aug 23, 2006, at 11:41 AM, Jochem Maas wrote: you can still use OOP, only you can't rely on auto destruct with regard to object existance. try the ini settings auto_prepend_file auto_append_file http://php.net/manual/en/ini.core.php#ini.auto-append-file and use them to control the startup

Re: [PHP] strange mysqli error

2006-08-23 Thread Richard K Miller
On Aug 23, 2006, at 2:33 AM, Jochem Maas wrote: how do you know which object is destroyed first? also you are using 3 different versions of php - not something that will help narrow down the problem. Richard K Miller wrote: Good afternoon. I'm getting a weird mysqli error in my o

[PHP] strange mysqli error

2006-08-22 Thread Richard K Miller
ost (PHP 5.0.4 + MySQL 5.0.22) I NEVER get any errors. There's nothing else in my error logs, $db-errno is 0, and $db->error is empty. Interestingly, I never get any errors from the constructor. Any ideas? Richard --- Richard K. Miller www.richardkmiller.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] serialize() function

2006-04-13 Thread Richard K Miller
There's nothing special about the data returned by serialize() except that it can be safely written saved, transmitted, etc. To do anything useful with it you have to unserialize() it. The cool part about it is that you can serialize any data structure, like an entire array or object. T

[PHP] Looping from A to Z

2006-02-19 Thread Richard K Miller
Interestingly, if I make it a "less than" operation instead of "less than or equal to", it works correctly (except for the Z): for ($l = "A"; $l < "Z"; $l++) echo $l; // Returns A, B, C, ..., W, X, Y (25 results) Anyone know why PHP would

Re: [PHP] PHP Frameworks?

2006-01-27 Thread Richard K Miller
I haven't used them, but our local user group recently had a meeting on PHP frameworks[1]. The feeling of the people that have used them was that Symfony was a good project, and that CakePHP was a particularly large installation. No one mentioned having used Prado, WACT or WASP. We also

Re: [PHP] wrapping anchor tags around a URL

2006-01-25 Thread Richard K Miller
On Jan 25, 2006, at 10:01 AM, Ahmed Saad wrote: On 1/25/06, Ahmed Saad <[EMAIL PROTECTED]> wrote: On 1/25/06, Ahmed Saad <[EMAIL PROTECTED]> wrote: On 1/23/06, Richard K Miller <[EMAIL PROTECTED]> wrote: function link_the_links($s) { return preg_replace('@(ht

[PHP] wrapping anchor tags around a URL

2006-01-23 Thread Richard K Miller
a link comes at the end of a sentence, right before the period, the period ends up in the link, thus breaking the link. I've got to somehow ignore the trailing period if it is present. Any ideas? Richard K Miller -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Frameworks

2005-12-23 Thread Richard K . Miller
ousing for victims right after the hurricane. Richard --- Richard K. Miller www.richardkmiller.com On Dec 23, 2005, at 12:57 PM, Shawn McKenzie wrote: Is there a good recent article on PHP Frameworks, or do people here has a predominant one that outshines the others? I'm looking for so

Re: [PHP] MVC platform choice.

2005-12-01 Thread Richard K. Miller
On Dec 1, 2005, at 3:14 AM, Ahmed Saad wrote: On 11/30/05, Gregory Machin <[EMAIL PROTECTED]> wrote: Hi.. Any body recomend a good MVC platform that is easy to work with, and build on... http://www.agavi.org 0.10rc is already in the svn I haven't tried these yet, but these are framewor

[PHP] readfile and get_file_contents don't work

2005-11-23 Thread Richard K . Miller
I compiled PHP from source on Fedora Core 4, but I must have left something out because readfile and get_file_contents aren't working. If I try to connect to a "http://"; address I get the error "failed to open stream: HTTP request failed". Any ideas why? Richard -- PHP General Mailing L