Re: [PHP] PEAR::DB and PDO

2006-08-01 Thread Ezra Nugroho
I've used PDO, PEAR::DB, and ADOdb. I like ADOdb the most. You'd love it's new Active Record extension. On Tue, 2006-08-01 at 18:47 +0100, Yannick Warnier wrote: Hi there, I will soon need to include a database abstraction layer in my company's software and I am looking for the best

RE: [PHP] Sanity checker?

2006-07-07 Thread Ezra Nugroho
/phpsecaudit I need a lot of help identifying function calls that need to be handled with cautions. Thank you -- Ezra Nugroho http://ez.spikesource.com On Thu, 2006-05-04 at 14:44 -0500, Jay Blanchard wrote: [snip] Have you ever seen things like for ($i = 0; $i count($some_array); $i++) { //do

Re: [PHP] Sanity checker?

2006-05-04 Thread Ezra Nugroho
It was a long time since I post any question to this list, like back at php 3x time. Boy, a lot has change now. So I actually did kick some funny bones, not quite flames yet. And that's good, I don't really like that. Wolf We aren't going to take the time to answer a rhetorical question when

Re: [PHP] Sanity checker?

2006-05-03 Thread Ezra Nugroho
to check the sanity of your code, what would you look for? Any pointers for other resources? Thank you Ezra On Wed, 2006-05-03 at 10:22 +0300, Robin Vickery wrote: On 03/05/06, Ezra Nugroho [EMAIL PROTECTED] wrote: PHP experts everywhere, Does anyone know of any tools to test

[PHP] Sanity checker?

2006-05-02 Thread Ezra Nugroho
PHP experts everywhere, Does anyone know of any tools to test the sanity of your php code? If you were to check the sanity of your code, what would you look for? Any pointers for other resources? Thank you, Ezra -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Strange math results

2006-03-28 Thread Ezra Nugroho
It is not always possible to precisely represent decimal values as a float type in binary. In these cases, the value that you have is either slightly bigger or slightly smaller than the actual. In your specific problem, you have two values that are not equal, but very similar. Therefore you get

Re: [PHP] Best way to do this: www.domain.com?page=var

2006-01-16 Thread Ezra Nugroho
On Mon, 2006-01-16 at 14:20 -0800, Michael Hulse wrote: On Jan 16, 2006, at 2:14 PM, [EMAIL PROTECTED] wrote:] I think that'll do it for ya. If you're going through an ISP, they still may have a way that you can set your defaults, possibly through .htaccess or some other Apache type

[PHP] Array_merge, safety and race condition?

2005-11-10 Thread Ezra Nugroho
Php experts everywhere, I want to merge two arrays, and I want to store the result as the first array. Something like the following: $array1 = array_merge ($array1, $array2); So far the code gives me what I want. However, suppose if $array1 is extremely huge, am I introducing a bug here

Re: [PHP] Tired and feeling dumb...maths question....

2005-07-14 Thread Ezra Nugroho
The result should be between 1 - 5. Can you clarify the following: Basically, I have these two fields: $pic_no_of_votes $vote_total_pts What do they hold? Sums or individual votes? and this totals them up and keeps the average: $average_pts people vote on a scale of 1-5, so the average

Re: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-08 Thread Ezra Nugroho
I am just wondering, how could someone craft an html to steal cookies? If your cookie distribution is done right, I don't think you need to worry about this. There are a gazillion of sites (CMS-based, wiki-based, etc, including php.net) that allow users to contribute html. They are not concern

Re: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-08 Thread Ezra Nugroho
the information invalid. Regards, Ezra On Fri, 2005-07-08 at 12:31 -0500, Edward Vermillion wrote: On Jul 8, 2005, at 12:02 PM, Ezra Nugroho wrote: I am just wondering, how could someone craft an html to steal cookies? If your cookie distribution is done right, I don't think you need to worry

RE: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-08 Thread Ezra Nugroho
as frequently as every request to the server. I've also noted similar (but not as drastic) effects. IPs are really not a good fingerprint for a user, unless you are fine with invalidating users on a frequent basis Michael -Original Message- From: Ezra Nugroho [mailto:[EMAIL

Re: [PHP] file function

2005-07-08 Thread Ezra Nugroho
Well, it supposed to give you array. http://us2.php.net/manual/en/function.file.php array file ( string filename [, int use_include_path [, resource context]] ) What do you want exactly? Ezra On Fri, 2005-07-08 at 16:34 -0700, Joseph Lee wrote: Hi, I tried file() in the following

RE: [PHP] Best PHP CMS

2003-08-07 Thread Ezra Nugroho
Also look at http://www.caravelcms.org Quoting Matt Schroebel [EMAIL PROTECTED]: -Original Message- From: Anthony [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 9:52 AM To: [EMAIL PROTECTED] Subject: [PHP] Best PHP CMS I'm just looking for some opinions.

[PHP] query to Active Directory

2003-02-25 Thread Ezra Nugroho
This one is really puzzling... It has taken me days.. I need to do an LDAP search to an Active Directory server. I was able to connect and bind to the server fine, but my searches are always in vain. OK, here we go: box name: mydomain-71.mydomain.myschools.org domain name:

[PHP] php-4.3.0 and wu-imap failed to compile

2003-01-19 Thread Ezra Nugroho
I tried to install php-4.3.0 with imap-2001a-10, imap-devel-2001a-10 from RH 7.3 Of course I added --with-imap --with-imap-ssl, among other things. These came out when I did make. /php /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit':

[PHP] apache + php + MS active directory

2003-01-07 Thread Ezra Nugroho
Now, this is a rather unlikely configuration, but ... I am working on a linux based web work based on apache and php, but the authentication system on site is based on MS active directory. Does anyone know if apache + php can be configured to authenticate users through active directory? Is it

[PHP] php command line

2002-04-30 Thread Ezra Nugroho
, Ezra Nugroho Web/Database Application Specialist Goshen College Information Technology Services Phone: (574) 535-7706 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php 4.1.1 vs 4.0.6

2002-02-22 Thread Ezra Nugroho
and 4.1.1 ? Are the 4.1.x completely backward compatible with 4.0.x? Thanks, Ezra Nugroho Web/Database Application Specialist Goshen College ITS Phone: (574) 535-7706 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] nimda, etc.

2001-10-02 Thread Ezra Nugroho
Uptime: 2 days 20 hours 7 minutes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] Ezra Nugroho Web/Database Application Specialist

[PHP] Re: new one is it ??

2001-08-13 Thread Ezra Nugroho
- - - ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list Ezra Nugroho Web/Database Application Specialist Goshen College ITS Phone: (219) 535-7706 Don't be humble, you're not that great. -- Golda Meir -- PHP General Mailing List (http://www.php.net

Re: [PHP] Spot the difference?

2001-08-06 Thread Ezra Nugroho
. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] Ezra Nugroho Web/Database Application Specialist Goshen College ITS Phone: (219) 535-7706

RE: [PHP] Spot the difference?

2001-08-02 Thread Ezra Nugroho
] Ezra Nugroho Web/Database Application Specialist Goshen College ITS Phone: (219) 535-7706 Don't be humble, you're not that great. -- Golda Meir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] Sorry... but a good PHP editor for Linux/Unix

2001-08-01 Thread Ezra Nugroho
] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] Ezra Nugroho Web/Database Application Specialist Goshen College ITS Phone: (219) 535-7706

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Ezra Nugroho
administrators, e-mail: [EMAIL PROTECTED] Ezra Nugroho Web/Database Application Specialist Goshen College ITS Phone: (219) 535-7706 Don't be humble, you're not that great. -- Golda Meir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] HTTP_REFERER is missing in SSL

2001-07-27 Thread Ezra Nugroho
. This works fine with Netscape but not with IE 5. HTTP_REFERER just wasn't defined. Any explanation? Ezra Nugroho Web/Database Application Specialist Goshen College ITS Phone: (219) 535-7706 Don't be humble, you're not that great. -- Golda Meir -- PHP General Mailing List (http://www.php.net

Re: [PHP] HTTP_REFERER is missing in SSL

2001-07-27 Thread Ezra Nugroho
, but this is an outsourced script that I have no controll off. -Rasmus Ezra Nugroho Web/Database Application Specialist Goshen College ITS Phone: (219) 535-7706 Don't be humble, you're not that great. -- Golda Meir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED