Re: [PHP] (More Information) was Problems with ldap_modify() and very large entries

2003-12-02 Thread Peter J Hartman
(consistently) ldap_mod_replace. Technically, 161-180 (thus, 17000-18000 characters) hangs inconsistently, while 160 and belows never hangs (16000 characters) and 181+ (181000 chars) hangs everytime. Any help on this would be highly appreciated, Peter John Hartman -- PHP General Mailing List (http

Re: [PHP] (More Information) was Problems with ldap_modify() and very large entries

2003-12-02 Thread Peter J Hartman
Just to note: the problem holds true for: ldap_mod_add, ldap_modify, and ldap_mod_replace. Also, adding ldap_set_option($conn, LDAP_OPT_SIZELIMIT, 20) doesn't resolve the problem (or setting it to 0). Peter On Tue, 2 Dec 2003, Peter J Hartman wrote: Here's a followup to my problem

[PHP] IN ANTICIPATION OF A MUTUAL BUSINESS RELATIONSHIP

2004-01-05 Thread PETER MBA ASSOCIATES
I am PETER MBA, an attorney at law, personal attorney to this engineering contractor, a National of your country, who used to be a contractor with a Mining Company here in South Africa. Herein shall be referred to as my client. On the 21st of April 2001, my client, his wife and their only

[PHP] ltrim behavior.

2009-03-11 Thread Peter van der Does
ltrim($a,'options['); ][name] UH, what? Not exactly what I expected. This works: php $a='options[options][name]'; php echo ltrim(ltrim($a,'options'),'['); options][name] Can somebody explain the second behavior? Is this a known bug in PHP, I'm running PHP 5.2.6 on Ubuntu. -- Peter van der Does

Re: [PHP] ltrim behavior.

2009-03-11 Thread Peter van der Does
On Wed, 11 Mar 2009 15:28:04 -0400 Paul M Foster pa...@quillandmouse.com wrote: On Wed, Mar 11, 2009 at 03:07:18PM -0400, Peter van der Does wrote: This might be old for some of you but I never encountered it until today and I would like to know why this is happening. Here's

Re: [PHP] What is wrong with this code

2009-04-03 Thread Peter van der Does
echo 'Thank you $name for submitting your inquiry!br /'; echo 'You have supplied the following information:br /'; echo 'Name: $name br /'; echo 'Email Address: $email br /'; echo 'Comments: $comments'; } ? -- Peter van der Does GPG key: E77E8E98 IRC: Ganseki

[PHP] Multiple return statements in a function.

2009-04-23 Thread Peter van der Does
='Not Array'; } return $return; } Example of the other method: function check($a) { if ( is_array( $a ) ) { return ('Array'); } else { return ('Not Array'); } } What is your take? And is there any benefit to either method? -- Peter van der Does GPG key: E77E8E98 Blog: http

[PHP] PHP class question

2009-05-21 Thread Peter van der Does
framework_class { $var core; // PHP4 constructor function A { $this-core = new core(); $this-core-go(); } } The question I have, is this a good solution, is it the only solution or are there different ways to tackle this? As you might see it needs to run in PHP4. -- Peter van der Does GPG

Re: [PHP] Re: PHP class question

2009-05-21 Thread Peter van der Does
to be an extension of the framework class. -- Peter van der Does GPG key: E77E8E98 IRC: Ganseki on irc.freenode.net Blog: http://blog.avirtualhome.com Forums: http://forums.avirtualhome.com Jabber ID: pvanderd...@gmail.com GetDeb Package Builder http://www.getdeb.net - Software you want for Ubuntu -- PHP

Re: [PHP] Anyone know whats the best way to learn PHP

2009-06-01 Thread Peter van der Does
down and reading books, it's by actually programming/speaking the language. -- Peter van der Does GPG key: E77E8E98 IRC: Ganseki on irc.freenode.net Blog: http://blog.avirtualhome.com Forums: http://forums.avirtualhome.com Jabber ID: pvanderd...@gmail.com GetDeb Package Builder http

Re: [PHP] Form Spam

2009-08-20 Thread Peter van der Does
it during the processing of the post. A second idea is to check the IP of the visitor during the POST process, with something like stopforumspam or project honey pot. If you want more info let me know. -- Peter van der Does GPG key: E77E8E98 IRC: Ganseki on irc.freenode.net Blog: http

Re: [PHP] Spam opinions please

2009-10-20 Thread Peter van der Does
itself: http://blog.avirtualhome.com/2009/10/08/stop-spammers-in-your-htaccess/ -- Peter van der Does GPG key: E77E8E98 IRC: Ganseki on irc.freenode.net Twitter: @petervanderdoes WordPress Plugin Developer Blog: http://blog.avirtualhome.com Forums: http://forums.avirtualhome.com Twitter

[PHP] Registry class question.

2010-02-26 Thread Peter van der Does
) { return $this-_settings[$key]; } The question is what the pros and cons are compared to setting a new property with the value, like: storeSetting($key,$value) { $this-$key = $value; } and then instead of calling getSetting, you just use $this-Registry-property -- Peter van der Does GPG key

[PHP] Using ArrayObject

2010-03-09 Thread Peter van der Does
What is the advantage of using ArrayObject to build a Registry class? -- Peter van der Does GPG key: E77E8E98 IRC: Ganseki on irc.freenode.net Twitter: @petervanderdoes WordPress Plugin Developer Blog: http://blog.avirtualhome.com Forums: http://forums.avirtualhome.com Twitter: @avhsoftware

Re: [PHP] Global Var Disappearing After Function

2010-03-22 Thread Peter van der Does
! From PHP.net: If a globalized variable is unset() inside of a function, only the local variable is destroyed. The variable in the calling environment will retain the same value as before unset() was called. [1] [1] http://php.net/manual/en/function.unset.php -- Peter van der Does GPG key

Re: [PHP] Math Question....

2010-04-22 Thread Peter van der Does
; } } -- Peter van der Does GPG key: E77E8E98 IRC: Ganseki on irc.freenode.net Twitter: @petervanderdoes WordPress Plugin Developer Blog: http://blog.avirtualhome.com Forums: http://forums.avirtualhome.com Twitter: @avhsoftware -- PHP General Mailing List (http://www.php.net

Re: [PHP] Math Question....

2010-04-22 Thread Peter van der Does
On Thu, 22 Apr 2010 10:49:11 -0400 Peter van der Does pvanderd...@gmail.com wrote: My take on it: $Items=1252398; $MaxInGroup=30; for ($x=$MaxInGroup; $x1;$x--) { $remainder=$Items % $x; // Change 17 to the max amount allowed in the last group if ($remainder == 0

[PHP] How to store data that doesn't change?

2010-09-15 Thread Peter van der Does
it in a registry class 3. Store it in a named constant. 4. Use a function that will return the data (kind of like a regsitry class but it's not a class) Personally I don't like option 1 but what about the other options. Is any of them faster then the others. What other pros and cons are there. -- Peter van

Re: [PHP] cant connect to mysql

2001-08-28 Thread Peter Houchin Sun Rentals STR Manager
/html/procbit/login.php on line 17 the line 17 in my code is as follows: $db=mysql_connect(localhost,root,password); please help me out of this problem. Please reply me at [EMAIL PROTECTED] thank you all sagar -- Peter Houchin Sun Rentals STR

[PHP] mail problem

2001-09-12 Thread Peter Houchin Sun Rentals STR Manager
to the commandline and send emails no problem but from the web pages I can't .. any suggestions would be apreciated. -- Peter Houchin Sun Rentals STR Manager Phone: 03 9329 1455 Fax: 03 9329 6755 [EMAIL PROTECTED] http://www.sunrentals.com.au

Re: [PHP] mail problem

2001-09-12 Thread Peter Houchin Sun Rentals STR Manager
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm list-help: mailto:[EMAIL PROTECTED] list-unsubscribe: mailto:[EMAIL PROTECTED] list-post: mailto:[EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] From: David Robley [EMAIL PROTECTED] To: Peter Houchin Sun Rentals STR Manager

Re: [PHP] mail problem

2001-09-12 Thread Peter Houchin Sun Rentals STR Manager
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm list-help: mailto:[EMAIL PROTECTED] list-unsubscribe: mailto:[EMAIL PROTECTED] list-post: mailto:[EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] From: David Robley [EMAIL PROTECTED] To: Peter Houchin Sun Rentals STR Manager

Re: [PHP] mail problem

2001-09-13 Thread Peter Houchin Sun Rentals STR Manager
From: David Robley [EMAIL PROTECTED] To: Peter Houchin Sun Rentals STR Manager [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP] mail problem Date: Thu, 13 Sep 2001 14:51:36 +0930 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mozilla-Status

<    14   15   16   17   18   19