Re: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Andrew Ballard
On Fri, Feb 27, 2009 at 7:32 PM, Ashley Sheridan wrote: > On Fri, 2009-02-27 at 16:41 -0600, Boyd, Todd M. wrote: >> > -Original Message- >> > From: Andrew Ballard [mailto:aball...@gmail.com] >> > Sent: Friday, February 27, 2009 3:26 PM >> > To: Bastien Koert >> > Cc: Shawn McKenzie; php-g

Re: [PHP] Re: compiling php with libjpg64

2009-02-27 Thread Shawn McKenzie
Ashley Sheridan wrote: > On Fri, 2009-02-27 at 12:43 -0600, Shawn McKenzie wrote: >> Merlin Morgenstern wrote: >>> Hi there, >>> >>> I am trying to get a 64 bit suse 10.3 system to run with php 5. Somehow >>> it does not recognize the libjpg which is definatelly in place: >>> >>> server:/home/sw/ph

Re: [PHP] Get a list of column field names from a MS Access table

2009-02-27 Thread Andrew Ballard
On Fri, Feb 27, 2009 at 7:41 PM, Ashley Sheridan wrote: > On Fri, 2009-02-27 at 16:58 -0500, Bastien Koert wrote: >> On Thu, Feb 26, 2009 at 4:01 PM, revDAVE wrote: >> >> > Newbie question: >> > >> > I would like to get a list of column field names from a MS Access table and >> > hopefully get th

Re: [PHP] Get a list of column field names from a MS Access table

2009-02-27 Thread Andrew Ballard
On Fri, Feb 27, 2009 at 4:58 PM, Bastien Koert wrote: > On Thu, Feb 26, 2009 at 4:01 PM, revDAVE wrote: > >> Newbie question: >> >> I would like to get a list of column field names from a MS Access table and >> hopefully get them returned in the ORIGINAL order (as they appear in >> access) >> >>

Re: [PHP] Converting PHP code to C#?

2009-02-27 Thread ariki
I go the same problem as well, how could I hardcode the iv and key, if iv="abc" and key="123" in C#, what are the iv and key in PHP? Symbian wrote: > > > > mike-22 wrote: >> >> i'm pretty sure the IV mattered in our stuff. >> >> and remember i used CBC i think not EBC, and it worked fine. n

Re: [PHP] Re: Best error handling

2009-02-27 Thread Michael A. Peters
Nathan Rixham wrote: further, for live servers you really should have display errors set to off in you're php.ini - at which point nothing will be returned but they are still in the server logs - so they are still viewable if you need to see what errors occur (just mentioning it because som

[PHP] Help with a potential bug

2009-02-27 Thread Davi Ramos
Can someone help me find the smallest block of code that is making Apache SEGV? Actually the code is about 30 lines and actually depends with Doctrine (which I think it is not causing the crash as well, but it is combined with something else). I also make use of user defined stream wrappers. These

[PHP] Re: Best error handling

2009-02-27 Thread Davi Ramos
No luck with your solution... I think that the only way is (as you said) to make sure that there will be no fatal errors :) I'll will implement the error handler as well (to catch some minor errors) and uncaught exceptions. The method for catch all errors using a shutdown function appears to work,

Re: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Michael A. Peters
Murray wrote: Not sure he's from a company. His email address is in the berkeley.edudomain. I guess there's a chance he's involved in Berkeley DB, although I believe this is now owned by Oracle? I'd be curious to know if any Berkeley people are still involved in the development of the engine. M

[PHP] Re: Best error handling

2009-02-27 Thread Nathan Rixham
Davi Ramos wrote: Hi. I have a kind of webserver that certain applications communicate with. The problem is that the script (named peer.php) must output data as xml. Thats ok (thanks to XMLWriter). The problem is that when some error occurs (those note catchable by set_error_handler) I have no co

Re: [PHP] Browser timeout

2009-02-27 Thread Ashley Sheridan
On Sat, 2009-02-28 at 02:42 +0200, דניאל דנון wrote: > The problem is - What to send? Since I'm using a template-class, I did > not include an option to send only the header(html, head), is there > any way other then sending the template's HTML to solve this problem? > > On Sat, Feb 28, 2009 at 2:

Re: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Murray
Not sure he's from a company. His email address is in the berkeley.edudomain. I guess there's a chance he's involved in Berkeley DB, although I believe this is now owned by Oracle? I'd be curious to know if any Berkeley people are still involved in the development of the engine. M is for Murray ht

Re: [PHP] Get a list of column field names from a MS Access table

2009-02-27 Thread Ashley Sheridan
On Fri, 2009-02-27 at 16:58 -0500, Bastien Koert wrote: > On Thu, Feb 26, 2009 at 4:01 PM, revDAVE wrote: > > > Newbie question: > > > > I would like to get a list of column field names from a MS Access table and > > hopefully get them returned in the ORIGINAL order (as they appear in > > access)

RE: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Ashley Sheridan
On Fri, 2009-02-27 at 16:41 -0600, Boyd, Todd M. wrote: > > -Original Message- > > From: Andrew Ballard [mailto:aball...@gmail.com] > > Sent: Friday, February 27, 2009 3:26 PM > > To: Bastien Koert > > Cc: Shawn McKenzie; php-general@lists.php.net > > Subject: Re: [PHP] Re: How important is

Re: [PHP] Re: compiling php with libjpg64

2009-02-27 Thread Ashley Sheridan
On Fri, 2009-02-27 at 12:43 -0600, Shawn McKenzie wrote: > Merlin Morgenstern wrote: > > Hi there, > > > > I am trying to get a 64 bit suse 10.3 system to run with php 5. Somehow > > it does not recognize the libjpg which is definatelly in place: > > > > server:/home/sw/php-5.2.9 # './configure'

Re: [PHP] Getting An Inventory Product Count

2009-02-27 Thread Ashley Sheridan
On Fri, 2009-02-27 at 13:21 -0500, Bastien Koert wrote: > On Fri, Feb 27, 2009 at 11:17 AM, revDAVE wrote: > > > Newbie question > > > > Hi folks, > > > > Currently, I have an inventory table that stores individual records for > > each > > single item in inventory - ( each item is on its own line

Re: [PHP] Browser timeout

2009-02-27 Thread Ashley Sheridan
On Fri, 2009-02-27 at 16:33 +0200, דניאל דנון wrote: > Hello, I am running a script that process the user's request, which usually > takes about 40 seconds. The problem is that on Internet Explorer 6, it > timeouts - probably because no response was sent. > How do I solve this problem? Since I trie

Re: [PHP] Re: "use strict" or similar in PHP?

2009-02-27 Thread Ashley Sheridan
On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: > On Sat, 2009-02-28 at 00:02 +0600, 9el wrote: > > --- > > Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get > > a Free CD of Ubuntu mailed to your doo

[PHP] Best error handling

2009-02-27 Thread Davi Ramos
Hi. I have a kind of webserver that certain applications communicate with. The problem is that the script (named peer.php) must output data as xml. Thats ok (thanks to XMLWriter). The problem is that when some error occurs (those note catchable by set_error_handler) I have no control on data being

Re: [PHP] Re: How do I remove an array element from within a recursive function? [solved]

2009-02-27 Thread Daevid Vincent
OMG! How retarded am I. Duh. of course... For some reason I thought you could use the & reference because it was a "pointer" to the actual object menuItem::removeMenuItems($navArray['dart'], array('Login', 'Lost Password')); public static final function removeMenuItems(&$menuItems

Re: [PHP] Re: "use strict" or similar in PHP?

2009-02-27 Thread sbeam
On Friday 27 February 2009 10:56, Hans Schultz wrote: > Regarding databases I was hopping for some abstraction layer like dbx only >   better (to allow parameters). I encourage you to use a database abstraction layer that gives you this and many other features you may be used to from JDBC MDB2

Re: [PHP] Re: "use strict" or similar in PHP?

2009-02-27 Thread Robert Cummings
On Fri, 2009-02-27 at 14:32 -0800, Michael A. Peters wrote: > Robert Cummings wrote: > ... the line between the > > definition of interpreted language and compiled language is quite blurry > > these days. > > #include > main() > { > printf("Hello World"); > } > > Compile that - and you can r

RE: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Boyd, Todd M.
> -Original Message- > From: Andrew Ballard [mailto:aball...@gmail.com] > Sent: Friday, February 27, 2009 3:26 PM > To: Bastien Koert > Cc: Shawn McKenzie; php-general@lists.php.net > Subject: Re: [PHP] Re: How important is your Express or Web Edition > database? Please weigh in-- > > On F

Re: [PHP] Re: "use strict" or similar in PHP?

2009-02-27 Thread Michael A. Peters
Robert Cummings wrote: ... the line between the definition of interpreted language and compiled language is quite blurry these days. #include main() { printf("Hello World"); } Compile that - and you can run it on any system that is binary compatible, whether or not is has a C compiler.

Re: [PHP] Get a list of column field names from a MS Access table

2009-02-27 Thread Bastien Koert
On Thu, Feb 26, 2009 at 4:01 PM, revDAVE wrote: > Newbie question: > > I would like to get a list of column field names from a MS Access table and > hopefully get them returned in the ORIGINAL order (as they appear in > access) > > Is there a sql query I could do to get this result? > > > > > --

Re: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Andrew Ballard
On Fri, Feb 27, 2009 at 4:21 PM, Bastien Koert wrote: > On Fri, Feb 27, 2009 at 4:01 PM, Shawn McKenzie wrote: > >> Stan Stadelman wrote: >> > Hello All: >> > >> > I'm trying to see how Web Edition databases are being used in your >> company >> > for PHP-driven web-apps.  Our strategy team thought

Re: [PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Bastien Koert
On Fri, Feb 27, 2009 at 4:01 PM, Shawn McKenzie wrote: > Stan Stadelman wrote: > > Hello All: > > > > I'm trying to see how Web Edition databases are being used in your > company > > for PHP-driven web-apps. Our strategy team thought that free and > community > > editions would be dominant, but w

[PHP] Re: How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Shawn McKenzie
Stan Stadelman wrote: > Hello All: > > I'm trying to see how Web Edition databases are being used in your company > for PHP-driven web-apps. Our strategy team thought that free and community > editions would be dominant, but we interviewed Zend Framework developers > using Oracle, IBM, Microsoft,

Re: [PHP] Development methods (was: "use strict" or similar in PHP?)

2009-02-27 Thread 9el
Also in place of Vi you should be looking for an IDE like Netbeans PDT which is one of the best for coding in PHP you can forget using TextPad for this. And to let your codes versioned use SVN=Subversion Using a framework lets you apply and abide by some conventions and lets you DRY=Dont Repeat Y

Re: [PHP] Re: "use strict" or similar in PHP?

2009-02-27 Thread Robert Cummings
On Sat, 2009-02-28 at 00:02 +0600, 9el wrote: > --- > Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get > a Free CD of Ubuntu mailed to your door without any cost. Visit : > www.ubuntu.com > ---

Re: [PHP] How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Bastien Koert
On Fri, Feb 27, 2009 at 2:04 PM, Bob McConnell wrote: > From: sstadel...@gmail.com > > > > Answering these 10 multiple choice questions--should take about 90 > > seconds--will help us understand what databases you need in your > > professional life, and how to deliver them to you. > > Put it on a

RE: [PHP] How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Bob McConnell
From: sstadel...@gmail.com > > Answering these 10 multiple choice questions--should take about 90 > seconds--will help us understand what databases you need in your > professional life, and how to deliver them to you. Put it on a site that doesn't require blindly enabling JavaScript and I might b

[PHP] How important is your Express or Web Edition database? Please weigh in--

2009-02-27 Thread Stan Stadelman
Hello All: I'm trying to see how Web Edition databases are being used in your company for PHP-driven web-apps. Our strategy team thought that free and community editions would be dominant, but we interviewed Zend Framework developers using Oracle, IBM, Microsoft, MySQL, PostgreSQL, and it looks l

[PHP] Re: compiling php with libjpg64

2009-02-27 Thread Shawn McKenzie
Merlin Morgenstern wrote: > Hi there, > > I am trying to get a 64 bit suse 10.3 system to run with php 5. Somehow > it does not recognize the libjpg which is definatelly in place: > > server:/home/sw/php-5.2.9 # './configure' '--enable-fastcgi' > '--with-mysql=/usr/local/mysql' '--prefix=/usr/loc

Re: [PHP] Getting An Inventory Product Count

2009-02-27 Thread Bastien Koert
On Fri, Feb 27, 2009 at 11:17 AM, revDAVE wrote: > Newbie question > > Hi folks, > > Currently, I have an inventory table that stores individual records for > each > single item in inventory - ( each item is on its own line because it has > serial numbers associated with it) like: > > fields: > >

[PHP] compiling php with libjpg64

2009-02-27 Thread Merlin Morgenstern
Hi there, I am trying to get a 64 bit suse 10.3 system to run with php 5. Somehow it does not recognize the libjpg which is definatelly in place: server:/home/sw/php-5.2.9 # './configure' '--enable-fastcgi' '--with-mysql=/usr/local/mysql' '--prefix=/usr/local/php' '--with-apxs2=/usr/local/ap

Re: [PHP] Re: "use strict" or similar in PHP?

2009-02-27 Thread 9el
--- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door without any cost. Visit : www.ubuntu.com -- On

Re: [PHP] Re: "use strict" or similar in PHP?

2009-02-27 Thread Robert Cummings
On Fri, 2009-02-27 at 09:28 -0700, LuKreme wrote: > On Feb 27, 2009, at 6:12, Hans Schultz wrote: > > > Hahahah,I was thinking the same thing > > >> > >> > > > The trouble is most people mean "compile a source file to an > executable binary" when they sat compile. By this measure, PHP does >

[PHP] make libphp5.so

2009-02-27 Thread The Doctor
I am running into problems compiling a shared module on BSD/OS 4.3.1 . My configuration is configure \ --prefix=/usr/contrib \ --localstatedir=/var \ --infodir=/usr/share/info \ --disable-static \ --enable-shared \ --enable-embed=shared \ --mandir=/usr/share/man \ --with-elf \ --with-x

Re: [PHP] Browser timeout

2009-02-27 Thread Dotan Cohen
> Hello, I am running a script that process the user's request, which usually > takes about 40 seconds. The problem is that on Internet Explorer 6, it > timeouts - probably because no response was sent. > How do I solve this problem? Since I tried some things and header() > messages, nothing worked

Re: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Michael A. Peters
Bob McConnell wrote: From what I have seen of PHP, it is strictly interpreted. i.e. a line is read, and executed. Then the next line is read, and executed. etc. So there is no way to get it to block execution from the beginning even when there are fatal errors. It will already have printed out

[PHP] Re: "use strict" or similar in PHP?

2009-02-27 Thread LuKreme
On Feb 27, 2009, at 6:12, Hans Schultz wrote: Hahahah,I was thinking the same thing The trouble is most people mean "compile a source file to an executable binary" when they sat compile. By this measure, PHP does not compile. -- PHP General Mailing List (http://www.php.net/) To un

RE: [PHP] Development methods (was: "use strict" or similar in PHP?)

2009-02-27 Thread Boyd, Todd M.
> -Original Message- > From: Bob McConnell [mailto:r...@cbord.com] > Sent: Friday, February 27, 2009 9:56 AM > To: PHP General list > Subject: [PHP] Development methods (was: "use strict" or similar in > PHP?) > > From: Boyd, Todd M. > > Well, take care of all of your logic before you disp

[PHP] Getting An Inventory Product Count

2009-02-27 Thread revDAVE
Newbie question Hi folks, Currently, I have an inventory table that stores individual records for each single item in inventory - ( each item is on its own line because it has serial numbers associated with it) like: fields: Item - ModelID - sn item1 - 1 - sn xxx item1 - 1 - sn xxx item2 - 2

[PHP] Development methods (was: "use strict" or similar in PHP?)

2009-02-27 Thread Bob McConnell
From: Boyd, Todd M. > Well, take care of all of your logic before you display anything. It's > not that difficult, to be honest... especially if you're already using > an MVC design pattern/framework or a template system. That's an interesting string of buzzwords, but it carries no meaning for me.

[PHP] Re: "use strict" or similar in PHP?

2009-02-27 Thread Hans Schultz
Thanks, this is the most useful answer I got. I will try to use that IDE and to see if it works for me. Regarding databases I was hopping for some abstraction layer like dbx only better (to allow parameters). Regards, Hans On Fri, 27 Feb 2009 15:41:55 +0100, Peter Ford wrote: Hans Schultz

RE: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Hans Schultz
So, in the end, following should output something in php? Anyway we are far off topic now :-) Cheers --- On Fri, 2/27/09, Bob McConnell wrote: From: Bob McConnell Subject: RE: [PHP] "use strict" or similar in PHP? To: h.schult...@yahoo.com, a...@ashleysheridan.co.uk Cc: php-general@lists.php.net

RE: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Robert Cummings
On Fri, 2009-02-27 at 08:43 -0500, Bob McConnell wrote: > From: Hans Schultz > > > > Hahahah,I was thinking the same thing :D > > > > --- On Fri, 2/27/09, Ashley Sheridan wrote: > > From: Ashley Sheridan > > Subject: Re: [PHP] "use strict" or similar in PHP? > > To: "Hans Schultz" > > Cc: php-

Re: [PHP] Browser timeout

2009-02-27 Thread Nitsan Bin-Nun
Hi Daniel, Can you supply more information regarding this script? what it does? Regards, Nitsan דרך אגב נחמד לראות פה עוד ישראלים שבת שלום

[PHP] Re: "use strict" or similar in PHP?

2009-02-27 Thread Peter Ford
Hans Schultz wrote: > Is there in PHP something like "use strict" from perl? I find it pretty > annoying to need to run script over and over again just to find out that I > made typo in variable name. I find that my IDE catches most of the typos before I even try to run the page. I use Netbeans 6

[PHP] Browser timeout

2009-02-27 Thread דניאל דנון
Hello, I am running a script that process the user's request, which usually takes about 40 seconds. The problem is that on Internet Explorer 6, it timeouts - probably because no response was sent. How do I solve this problem? Since I tried some things and header() messages, nothing worked.

RE: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Boyd, Todd M.
> -Original Message- > From: Bob McConnell [mailto:r...@cbord.com] > Sent: Friday, February 27, 2009 7:44 AM > To: h.schult...@yahoo.com; a...@ashleysheridan.co.uk > Cc: php-general@lists.php.net; 9el > Subject: RE: [PHP] "use strict" or similar in PHP? > > From: Hans Schultz > > > > Hahah

Re: [PHP] Weird spam messages on the list... [WAS: Stop Being a Wage Slave! Join EarnGoogleCash Program!]

2009-02-27 Thread Paul M Foster
On Fri, Feb 27, 2009 at 12:35:25PM +0100, Michelle Konzack wrote: > Hello *, > > This list is subscribers only, and HOW can it be, that a Spamme can use > a Debian mailinglist to spam . AFAIK it is not possibel > for a mailinglist to subscribe itself to anoter mailinglist. > > I think, th

RE: [PHP] Re: How do I remove an array element from within a recursive function?

2009-02-27 Thread Boyd, Todd M.
> -Original Message- > From: Chris [mailto:dmag...@gmail.com] > Sent: Thursday, February 26, 2009 8:48 PM > To: Daevid Vincent > Cc: php-general@lists.php.net; Shawn McKenzie > Subject: Re: [PHP] Re: How do I remove an array element from within a > recursive function? > > Daevid Vincent wr

RE: [PHP] Re: catch the error

2009-02-27 Thread Boyd, Todd M.
> -Original Message- > From: Chris [mailto:dmag...@gmail.com] > Sent: Thursday, February 26, 2009 6:38 PM > To: Boyd, Todd M. > Cc: PHP General list > Subject: Re: [PHP] Re: catch the error > > Boyd, Todd M. wrote: > >> -Original Message- > >> From: Chris [mailto:dmag...@gmail.com]

RE: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Bob McConnell
From: Hans Schultz > > Hahahah,I was thinking the same thing :D > > --- On Fri, 2/27/09, Ashley Sheridan wrote: > From: Ashley Sheridan > Subject: Re: [PHP] "use strict" or similar in PHP? > To: "Hans Schultz" > Cc: php-general@lists.php.net, "9el" > Date: Friday, February 27, 2009, 1:11 PM >

Re: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Robert Cummings
On Fri, 2009-02-27 at 13:11 +, Ashley Sheridan wrote: > But if it never compiles, it can never run, but it can't run without > compiling? Arggh, my head. So does that mean if I go back in time and > shoot my grandfather, then nobody is in the woods to hear PHP try to > compile? There's a blurr

Re: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Hans Schultz
Hahahah,I was thinking the same thing :D --- On Fri, 2/27/09, Ashley Sheridan wrote: From: Ashley Sheridan Subject: Re: [PHP] "use strict" or similar in PHP? To: "Hans Schultz" Cc: php-general@lists.php.net, "9el" Date: Friday, February 27, 2009, 1:11 PM On Fri, 2009-02-27 at 14:04 +0100, Han

Re: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Ashley Sheridan
On Fri, 2009-02-27 at 14:04 +0100, Hans Schultz wrote: > Sorry, I didn't want to offend anyone :-) It was just very weird argument > - to quote: > "There is no "compile" time. PHP is interpreted so it is compiled and > then executed." > Sounds like contradiction in this very sentence :-). > >

Re: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Hans Schultz
Sorry, I didn't want to offend anyone :-) It was just very weird argument - to quote: "There is no "compile" time. PHP is interpreted so it is compiled and then executed." Sounds like contradiction in this very sentence :-). My apologies On Fri, 27 Feb 2009 10:22:44 +0100, 9el wrote: --

[PHP] Weird spam messages on the list... [WAS: Stop Being a Wage Slave! Join EarnGoogleCash Program!]

2009-02-27 Thread Michelle Konzack
Hello *, This list is subscribers only, and HOW can it be, that a Spamme can use a Debian mailinglist to spam . AFAIK it is not possibel for a mailinglist to subscribe itself to anoter mailinglist. I think, the listadmins from should blacklist . Thanks, Greetings and nice Day/E

Re: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Michael A. Peters
9el wrote: --- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door without any cost. Visit : www.ubuntu.com --

Re: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread Hans Schultz
On Thu, 26 Feb 2009 22:38:13 +0100, Shawn McKenzie wrote: There is no "compile" time. PHP is interpreted so it is compiled and then executed. If you always want error reporting, then set it in php.ini. It is compiled in no time, so there is no compile time? LOL -- Using Opera's revolut

Re: [PHP] "use strict" or similar in PHP?

2009-02-27 Thread 9el
--- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door without any cost. Visit : www.ubuntu.com -- On