Re: [PHP] Newbie Question

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 23:09, Bill Guion wrote: > > Fogging must be a REAL OLD Fashioned term. Please clarify. It was originally written before man invented the letter 'L', Bill. Welcome back, by the way. For someone who only posts once in a [great[ while, you certainly scrutinize spell

Re: [PHP] Newbie Question

2011-01-06 Thread Bill Guion
At 11:37 AM -0500 01/06/11, tedd wrote: At 8:16 PM -0500 1/5/11, Daniel Brown wrote: On Wed, Jan 5, 2011 at 19:45, David Harkness wrote: [snip!] Most companies will gladly give their product away to put it in the hands of soon-to-be-professionals. :) Tedd had his chance to be profes

[PHP] Apache and PHP segfaults on Redhat EL5

2011-01-06 Thread Jimmy Stewpot
Hello, I have been working over the last few months to try and get to the bottom of why our apache processes are regularly being killed with a Sig 11 (Segmentation Fault). Here are the messages in the kern.log httpd[22309]: segfault at 7fffd01b4ffc rip 2b1f935c064c rsp 7fffd01b4f90

Re: [PHP] unable to allocate memory for pool (php 5.2.16)

2011-01-06 Thread Nilesh Govindarajan
On 01/07/2011 03:45 AM, robert mena wrote: Hi, My system got upgraded with the rpm version of php 5.2.16 and since them I am getting errors with 'Unable to allocate memory for pool'. Reverting php to the older version solves the problem and while using the 5.2.16 the problems does not seem to

RE: [PHP] [security] PHP has DoS vuln with large decimal points

2011-01-06 Thread Tommy Pham
> -Original Message- > From: Daevid Vincent [mailto:dae...@daevid.com] > Sent: Wednesday, January 05, 2011 11:36 AM > To: php-general@lists.php.net > Subject: [PHP] [security] PHP has DoS vuln with large decimal points > > The error in the way floating-point and double-precision numbers ar

[PHP] unable to allocate memory for pool (php 5.2.16)

2011-01-06 Thread robert mena
Hi, My system got upgraded with the rpm version of php 5.2.16 and since them I am getting errors with 'Unable to allocate memory for pool'. Reverting php to the older version solves the problem and while using the 5.2.16 the problems does not seem to occur with a specific pattern, i.e sometimes

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 16:10, David Armstrong wrote: > Thanks Daniel.  I will suggest that to the developer and see if we can get > some useful information to further the troubleshooting process. >> >>    Per list rules, please hit "reply-all" and post your response >> >> below the quoted email i

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread David Armstrong
Thanks Daniel. I will suggest that to the developer and see if we can get some useful information to further the troubleshooting process. On Thu, Jan 6, 2011 at 1:08 PM, Daniel Brown wrote: > On Thu, Jan 6, 2011 at 16:02, David Armstrong > wrote: > > I modified the php.ini in both the apache/b

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 16:02, David Armstrong wrote: > I modified the php.ini in both the apache/bin directory, and also the php > directory. > Is there some way to get a trace of the code execution?  The SMTP log files > are completely worthless.  They do not show any sort of connection attempt.

Re: [PHP] OO oriented PHP frameworks

2011-01-06 Thread David Harkness
On Thu, Jan 6, 2011 at 12:36 PM, Jerome Covington wrote: > I was specifically curious if there are frameworks which use the convention > of passing config objects to functions/methods in the same way that > contemporary JS libraries like jQuery do. We use Zend Framework along with its MVC frame

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread David Armstrong
I modified the php.ini in both the apache/bin directory, and also the php directory. Is there some way to get a trace of the code execution? The SMTP log files are completely worthless. They do not show any sort of connection attempt. On Thu, Jan 6, 2011 at 12:58 PM, Daniel Brown wrote: > On

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 15:50, David Armstrong wrote: > I set the following parameters > > [mail function] > ; For Win32 only. > ; http://php.net/smtp > SMTP = localhost > ; http://php.net/smtp-port > smtp_port = 25 > sendmail_from = Per list rules, please hit "reply-all" and post your respon

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 15:27, David Armstrong wrote: > I'm in the process of helping some developers port their php application > from Linux to Windows (I know, string me up from the flag pole later).  I > have setup WAMP and everything is working fine with the exception of the > mail() function.

[PHP] OO oriented PHP frameworks

2011-01-06 Thread Jerome Covington
I was specifically curious if there are frameworks which use the convention of passing config objects to functions/methods in the same way that contemporary JS libraries like jQuery do. -- Regards, Jerome jeromecoving...@gmail.com -- http://www.jeromecovington.com One Plus the World

[PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread David Armstrong
I'm in the process of helping some developers port their php application from Linux to Windows (I know, string me up from the flag pole later). I have setup WAMP and everything is working fine with the exception of the mail() function. The code was originally developed on Linux and leveraged send

Re: [PHP] Memory_Limit adjustments

2011-01-06 Thread David Harkness
The memory limit only blocks PHP from allocating more than that amount of memory for a single process (i.e. client request). Given that you're barely scratching the surface of your 2GB of memory, if you don't expect too many 17MB file uploads to happen at the same time from different users, you sho

Re: [PHP] PHP Docs update

2011-01-06 Thread David Harkness
I filed a bug report for this, but I'll put it here as well in case it helps. When you zoom in to increase the text size, the right margin increases unnecessarily. This shrinks the width of the center content column which makes reading the documentation and code snippets difficult. The right margin

Re: [PHP] PHP Docs update

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 11:37, Ford, Mike wrote: > Except it completely sucks when I look at it using my (corporately > constrained) IE7! > > There are also a few display issues on the individual reference pages when > viewed with FF3.6 - the coloured bars and grey backgrounds spill over into >

Re: [PHP] Newbie Question

2011-01-06 Thread tedd
At 8:16 PM -0500 1/5/11, Daniel Brown wrote: On Wed, Jan 5, 2011 at 19:45, David Harkness wrote: [snip!] Most companies will gladly give their product away to put it in the hands of soon-to-be-professionals. :) Tedd had his chance to be professional back in the forties (the eighteen-f

RE: [PHP] PHP Docs update

2011-01-06 Thread Ford, Mike
Except it completely sucks when I look at it using my (corporately constrained) IE7! There are also a few display issues on the individual reference pages when viewed with FF3.6 - the coloured bars and grey backgrounds spill over into the left-hand menu (although the text does not). Looks like

Re: [PHP] Global or include?

2011-01-06 Thread Peter Lind
On Jan 6, 2011 4:24 PM, "Sándor Tamás" wrote: > > In that case you should use include_once in every script. But if you are absolutely sure that all scripts will be processed, you can include it only in one of them, because PHP - in short terms - does a file include, so it will look like as the in

[PHP] PHP Docs update

2011-01-06 Thread Nathan Rixham
To whoever did it, "it" being http://docs.php.net/ - congrats, v nice, and v quick! Best, Nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Global or include?

2011-01-06 Thread Sándor Tamás
In that case you should use include_once in every script. But if you are absolutely sure that all scripts will be processed, you can include it only in one of them, because PHP - in short terms - does a file include, so it will look like as the included file is part of the script. The global ke

[PHP] Memory_Limit adjustments

2011-01-06 Thread Rick Dwyer
Hello all. I am using a form combined with PHP to upload files to a website directory. Worked fine until I tried to upload a file 1.7 mb in size. My php code isn't the bottleneck as I scan the file first and reject the upload request if it exceed 4096KB. So I looked at the php.ini file a