[PHP] running out of memory processing result set on Linux, but not on Solaris

2010-07-13 Thread Larry Martell
I have an app that runs just fine on an older Solaris apache server (Apache/2.0.53 PHP/5.0.4), but when I run the same app on a newer Linux server (Apache/2.2.3-11 PHP/5.2.8) against the same database on the same mysql server, it fails with Allowed memory size exhausted. This occurs on a: $result

Re: [PHP] running out of memory processing result set on Linux, but not on Solaris

2010-07-13 Thread Larry Martell
On Tue, Jul 13, 2010 at 11:11 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-07-13 at 11:06 -0600, Larry Martell wrote: I have an app that runs just fine on an older Solaris apache server (Apache/2.0.53 PHP/5.0.4), but when I run the same app on a newer Linux server

[PHP] Retaining scroll position after asynchronous refresh

2010-07-23 Thread Larry Martell
Hello all- I have a php script that generates a web page with a bunch of scrollable frames, and then asynchronously refreshes the page. If the user has scrolled down in any of the frames, when the refresh occurs it has scrolled back to the top of all the frames. Is there a way I can retain the

Re: [PHP] Text messaging from the web

2010-10-14 Thread Larry Martell
On Thu, Oct 14, 2010 at 9:45 AM, Paul M Foster pa...@quillandmouse.com wrote: Folks: Being fairly geezerly, I know almost nothing about this, so be gentle. Assuming someone entered information in a form on a website. Normally, you would email the responses to someone. But what if you wanted

Re: [PHP] Text messaging from the web

2010-10-14 Thread Larry Martell
On Thu, Oct 14, 2010 at 10:01 AM, Sebastian Detert php-maill...@elygor.de wrote: Larry Martell schrieb: On Thu, Oct 14, 2010 at 9:45 AM, Paul M Foster pa...@quillandmouse.com wrote: Folks: Being fairly geezerly, I know almost nothing about this, so be gentle. Assuming someone entered

Re: [PHP] Text messaging from the web

2010-10-14 Thread Larry Martell
On Thu, Oct 14, 2010 at 10:29 AM, Sebastian Detert php-maill...@elygor.de wrote: Larry Martell schrieb: On Thu, Oct 14, 2010 at 10:01 AM, Sebastian Detert php-maill...@elygor.de wrote: Larry Martell schrieb: On Thu, Oct 14, 2010 at 9:45 AM, Paul M Foster pa...@quillandmouse.com wrote

Re: [PHP] Text messaging from the web

2010-10-14 Thread Larry Martell
On Thu, Oct 14, 2010 at 9:56 AM, chris h chris...@gmail.com wrote: You can send a text message via email:    Verizon: 10digitphonenum...@vtext.com    ATT: 10digitphonenum...@txt.att.net    Sprint: 10digitphonenum...@messaging.sprintpcs.com    T-Mobile: 10digitphonenum...@tmomail.net    

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Larry Martell
On Thu, Oct 21, 2010 at 1:37 PM, sueandant hollandsath...@tiscali.co.uk wrote: Hi I'm not familiatr with the term top-post; could you please explain? http://idallen.com/topposting.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] iPhone sadness

2011-05-30 Thread Larry Martell
On Mon, May 30, 2011 at 9:35 AM, Andre Polykanine an...@oire.org wrote: And,  BTW, this bottom posting has started just two or three years ago when Thunderbird came in place. You obviously have no clue what you are talking about. Since email began bottom posting was the standard. It wasn't

Re: [PHP] phpsadness

2011-06-03 Thread Larry Martell
On Fri, Jun 3, 2011 at 9:29 AM, Daniel Brown danbr...@php.net wrote: On Thu, Jun 2, 2011 at 22:14, Paul M Foster pa...@quillandmouse.com wrote: On Thu, Jun 02, 2011 at 01:02:26PM -0400, Daniel Brown wrote: On Tue, May 31, 2011 at 22:13, Bill Guion bgu...@comcast.net wrote: So if I

Re: [PHP] Re: Repetitive answers . . .

2011-09-09 Thread Larry Martell
On Fri, Sep 9, 2011 at 12:36 PM, Daniel Brown danbr...@php.net wrote: On Fri, Sep 9, 2011 at 14:30, Robert Cummings rob...@interjinn.com wrote: Oblig: http://www.youtube.com/watch?v=sUntx0pe_qI    I didn't know it was possible to fill almost four minutes with a single note, outside of a test

Re: [PHP] Friday Distraction

2011-10-21 Thread Larry Martell
On Fri, Oct 21, 2011 at 11:38 AM, Tedd Sperling tedd.sperl...@gmail.com wrote: On Oct 21, 2011, at 12:27 PM, Daniel Brown wrote:    I'll get this week's Friday distraction kicked off here with something shared with me by a Facebook friend.  If you're on Facebook, try this.  It's pretty sweet

Re: [PHP] Execute permission question

2011-10-27 Thread Larry Martell
On Thu, Oct 27, 2011 at 2:26 PM, Tedd Sperling tedd.sperl...@gmail.com wrote: Hi gang: Another question -- in the context of file permissions (rwx) is the execute permission limited to shell commands -- Or -- is there more? Not sure I fully understand your question, but to execute anything

Re: [PHP] Re: Long Live GOTO

2012-02-06 Thread Larry Martell
On Mon, Feb 6, 2012 at 9:23 AM, Alain Williams a...@phcomp.co.uk wrote: On Mon, Feb 06, 2012 at 11:12:53AM -0500, Jim Giner wrote: NO GO! As one who started back in the 70's with old style coding that utilized GoTo in Cobol, Fortran, etc. and had to deal with spaghetti code written by even

Re: [PHP] Re: Long Live GOTO

2012-02-06 Thread Larry Martell
On Mon, Feb 6, 2012 at 9:50 AM, Adam Richardson simples...@gmail.com wrote: On Mon, Feb 6, 2012 at 11:28 AM, Larry Martell la...@software-horizons.comwrote: On Mon, Feb 6, 2012 at 9:23 AM, Alain Williams a...@phcomp.co.uk wrote: On Mon, Feb 06, 2012 at 11:12:53AM -0500, Jim Giner wrote

Re: [PHP] Re: Long Live GOTO

2012-02-06 Thread Larry Martell
On Mon, Feb 6, 2012 at 10:13 AM, Adam Richardson simples...@gmail.com wrote: On Mon, Feb 6, 2012 at 12:09 PM, Larry Martell la...@software-horizons.comwrote: The source is my own personal experience working for an avionics company and working with the FAA to get our code certified under

Re: [PHP] Re: Long Live GOTO

2012-02-06 Thread Larry Martell
On Mon, Feb 6, 2012 at 11:07 AM, Daniel Brown danbr...@php.net wrote: On Mon, Feb 6, 2012 at 12:59, Larry Martell la...@software-horizons.com wrote: I just pulled out my notes from that job - it took me 59 hours to do the conversion and remove the gotos and recursion, and another 67 hours

Re: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Larry Martell
On Tue, Jun 26, 2012 at 1:30 PM, TR Shaw ts...@oitc.com wrote: On Jun 26, 2012, at 3:28 PM, Steven Staples wrote: -Original Message- From: Govinda [mailto:govinda.webdnat...@gmail.com] Sent: June 26, 2012 3:25 PM To: PHP-General List Subject: Re: [PHP] What's happened to our

Re: [PHP] Formatting -- defining sections of code

2012-12-14 Thread Larry Martell
On Fri, Dec 14, 2012 at 11:20 AM, Paul M Foster pa...@quillandmouse.com wrote: On Fri, Dec 14, 2012 at 10:48:05AM -0500, Andy McKenzie wrote: Hey folks, kind of a strange question here. Basically, I've been trying to move my style from self taught to Oh yeah, there IS a standard for this.

Re: [PHP] Affordable low-fee e-commerce - DIY?

2013-02-18 Thread Larry Martell
On Mon, Feb 18, 2013 at 1:26 PM, George Langley george.lang...@shaw.ca wrote: Hi all. Am wanting to build a site where people can donate $1.00 but is not for charity or other non-profit per se. So if I use PayPal, with their 2.9% + .30 per transaction fee, that equals .33 cents for each

[PHP] Date weirdness

2013-03-28 Thread Larry Martell
I think I am losing my mind. I have some time zone converting code, and I just don't understand what I am seeing. Also my system seems to return the wrong time after I do some date operations on unrelated objects. This is from a machine that is in eastern time. I want to convert to, for example

Re: [PHP] Date weirdness

2013-03-28 Thread Larry Martell
On Thu, Mar 28, 2013 at 2:44 PM, Steven Staples sstap...@mnsi.net wrote: I think I am losing my mind. I have some time zone converting code, and I just don't understand what I am seeing. Also my system seems to return the wrong time after I do some date operations on unrelated objects. This

Re: [PHP] Date weirdness

2013-03-28 Thread Larry Martell
On Thu, Mar 28, 2013 at 4:55 PM, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote: On 28-3-2013 22:40, Larry Martell wrote: On Thu, Mar 28, 2013 at 2:44 PM, Steven Staples sstap...@mnsi.net wrote: I think I am losing my mind. I have some time zone converting code, and I just don't

[PHP] timezone

2013-04-15 Thread Larry Martell
I have a client that has an app the runs with PHP 5.1.6. They want to upgrade to 5.3.3. First issue I ran into, they have a line of code that is: $deftz = date(T); I'm getting this for that line: [Mon Apr 15 10:44:16 2013] [error] [client 10.7.14.21] PHP Warning: date(): It is not safe to rely

Re: [PHP] timezone

2013-04-15 Thread Larry Martell
On Mon, Apr 15, 2013 at 11:17 AM, Jonathan Sundquist jsundqu...@gmail.com wrote: On Mon, Apr 15, 2013 at 12:14 PM, Larry Martell larry.mart...@gmail.com wrote: I have a client that has an app the runs with PHP 5.1.6. They want to upgrade to 5.3.3. First issue I ran into, they have a line

Re: [PHP] timezone

2013-04-15 Thread Larry Martell
On Mon, Apr 15, 2013 at 11:33 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: You don't know which timezone the server is in? That's what it wants. No, I don't - this app runs in different locations all over the world. Larry Martell larry.mart...@gmail.com wrote: On Mon, Apr 15, 2013

Re: [PHP] timezone

2013-04-15 Thread Larry Martell
On Mon, Apr 15, 2013 at 11:35 AM, Larry Martell larry.mart...@gmail.com wrote: On Mon, Apr 15, 2013 at 11:33 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: You don't know which timezone the server is in? That's what it wants. No, I don't - this app runs in different locations all over

Re: [PHP] timezone

2013-04-15 Thread Larry Martell
On Mon, Apr 15, 2013 at 1:59 PM, Lester Caine les...@lsces.co.uk wrote: Larry Martell wrote: No, I don't - this app runs in different locations all over the world. I found some code at php.net that does this: date_default_timezone_set(@date_default_timezone_get()); $deftz = date('T

Re: [PHP] timezone

2013-04-15 Thread Larry Martell
On Mon, Apr 15, 2013 at 2:57 PM, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote: On 15-4-2013 22:12, Larry Martell wrote: On Mon, Apr 15, 2013 at 1:59 PM, Lester Caine les...@lsces.co.uk wrote: Larry Martell wrote: No, I don't - this app runs in different locations all over the world

[PHP] ?=$var?

2013-04-17 Thread Larry Martell
Continuing in my effort to port an app from PHP version 5.1.6 to 5.3.3, the app uses this construct all over the place when building links: ?=$var? I never could find any documentation for this, but I assumed it was some conditional thing - use $var if it's defined, otherwise use nothing. In

Re: [PHP] ?=$var?

2013-04-18 Thread Larry Martell
On Wed, Apr 17, 2013 at 5:02 PM, Micky Hulse rgmi...@gmail.com wrote: On Wed, Apr 17, 2013 at 3:59 PM, Micky Hulse rgmi...@gmail.com wrote: You might need to turn on the short tag option in your conf file. Sorry, ini file, not conf. Been a long day. :D I guess I should have asked if short

Re: [PHP] Date weirdness

2013-04-18 Thread Larry Martell
On Thu, Mar 28, 2013 at 3:40 PM, Larry Martell larry.mart...@gmail.com wrote: On Thu, Mar 28, 2013 at 2:44 PM, Steven Staples sstap...@mnsi.net wrote: I think I am losing my mind. I have some time zone converting code, and I just don't understand what I am seeing. Also my system seems to return

Re: [PHP] Problems with array_push?

2013-05-07 Thread Larry Martell
On Tue, May 7, 2013 at 3:06 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: I know that I must be missing something really ridiculous, but when I print_r these arrays they are empty. I have confirmed that $arrayElement is properly formed, it just seems that array_push is not working.

Re: [PHP] ODBC

2013-05-19 Thread Larry Martell
On Sun, May 19, 2013 at 9:06 AM, georg georg.chamb...@telia.com wrote: Actually who the heck has put SELinux in my machine ? anyone knows (is this a part of fedora ?) Never used Fedora, but it's part of Red Hat and Centos, so would guess it's also part of fedora. You can disable SELinux with

Re: [PHP] /tmp/directory

2013-07-22 Thread Larry Martell
On Mon, Jul 22, 2013 at 9:59 AM, Larry Martell la...@software-horizons.com wrote: On Mon, Jul 22, 2013 at 9:50 AM, Tedd Sperling tedd.sperl...@gmail.com wrote: On Jul 22, 2013, at 11:20 AM, Tedd Sperling t...@sperling.com wrote Hi gang: I should know this, but I don't. Where is the /tmp

Re: [PHP] /tmp/directory

2013-07-22 Thread Larry Martell
On Mon, Jul 22, 2013 at 9:50 AM, Tedd Sperling tedd.sperl...@gmail.com wrote: On Jul 22, 2013, at 11:20 AM, Tedd Sperling t...@sperling.com wrote Hi gang: I should know this, but I don't. Where is the /tmp/ directory? You see, I have a client where his host has apparently changed the /tmp/

Re: [PHP] Friday's Question

2013-09-20 Thread Larry Martell
On Fri, Sep 20, 2013 at 11:35 AM, Joshua Kehn josh.k...@gmail.com wrote: On Sep 20, 2013, at 1:26 PM, Larry Martell la...@software-horizons.com wrote: On Fri, Sep 20, 2013 at 11:24 AM, Joshua Kehn josh.k...@gmail.com wrote: Slightly snobbish solution: Don't use windows. Unfortunately

Re: [PHP] Friday's Question

2013-09-20 Thread Larry Martell
On Fri, Sep 20, 2013 at 10:51 AM, Tedd Sperling t...@sperling.com wrote: Hi gang: Do you use a Mousepad? My reason for asking is that I've used a Mousepad ever since mice first came out (back when they had one ball). Now that mice are optical (no balls), Mousepads are not really needed --

Re: [PHP] Friday's Question

2013-09-20 Thread Larry Martell
On Fri, Sep 20, 2013 at 11:16 AM, Joshua Kehn josh.k...@gmail.com wrote: On Sep 20, 2013, at 1:04 PM, Daniel Brown danbr...@php.net wrote: I'm in my mid-thirties and - despite having an optical mouse - I do indeed still use a mousepad. A customized one that the wife did for me for

Re: [PHP] Friday's Question

2013-09-20 Thread Larry Martell
On Fri, Sep 20, 2013 at 11:20 AM, Jen Rasmussen j...@cetaceasound.com wrote: -Original Message- What in the heck is a Bag Bomb? It's a salve for cow udders. Not sure what a person would do with it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Friday's Question

2013-09-20 Thread Larry Martell
On Fri, Sep 20, 2013 at 11:24 AM, Joshua Kehn josh.k...@gmail.com wrote: On Sep 20, 2013, at 1:23 PM, Larry Martell la...@software-horizons.com wrote: On Fri, Sep 20, 2013 at 11:16 AM, Joshua Kehn josh.k...@gmail.com wrote: I'm in my 20's and rarely, if ever, use a dedicated mouse. I've

Re: [PHP] framework or not

2013-10-23 Thread Larry Martell
On Wed, Oct 23, 2013 at 10:26 AM, Tedd Sperling tedd.sperl...@gmail.comwrote: On Oct 23, 2013, at 12:04 AM, Robert Cummings rob...@interjinn.com wrote: On 13-10-22 05:38 PM, Larry Garfield wrote: If you need more convincing, I will cite Fred Brooks:

Re: [PHP] framework or not

2013-10-23 Thread Larry Martell
On Wed, Oct 23, 2013 at 11:08 AM, Tedd Sperling tedd.sperl...@gmail.comwrote: On Oct 23, 2013, at 12:34 PM, Larry Martell la...@software-horizons.com wrote: Was it Brian Kernighan who said the 3 rules of programming are: 1. Keep it simple. 2. Build it in stages. 3. Let someone else do