Re: [PHP] PHP Fatal error: Call to undefined function ()

2013-10-07 Thread Michael Alaimo
dev did not validate the data passed in via get. The code populating params looks like: $params = array ( 'd' => $_GET['d'], ); $job = Job::getInfo($params); On Mon, Oct 7, 2013 at 9:29 AM, Stuart Dallas wrote: >

[PHP] PHP Fatal error: Call to undefined function ()

2013-10-07 Thread Michael Alaimo
We have a server that gets a large number of requests each month. After a period of time I began to see this error in our error logs this weekend. PHP Fatal error: Call to undefined function () It does not reference a function, so I found it odd. It did give a line to a function with array_mer

[PHP] SSI not working on PHP files with Apache

2010-09-02 Thread Michael Alaimo
Does special configuration have to take place with PHP to let apache process server side include files that are HTML documents? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Is this a bug with date() ?

2010-06-30 Thread Michael Alaimo
I have found a bug report. This is the correct functionality. Mike > I understand that technically there are more than 52 weeks in a year. > Well at least google says 1 year = 52.177457 weeks. > > So I run the command: > php > echo date('W' , mktime(0, 0, 0, 1, 1, date('Y'))); > 53 > > As you ca

[PHP] Is this a bug with date() ?

2010-06-30 Thread Michael Alaimo
I understand that technically there are more than 52 weeks in a year. Well at least google says 1 year = 52.177457 weeks. So I run the command: php > echo date('W' , mktime(0, 0, 0, 1, 1, date('Y'))); 53 As you can see the result is 53. Any thoughts on this? Mike -- PHP General Mailing List

Re: [PHP] curl help or other suggestion

2010-06-17 Thread Michael Alaimo
As it turns out curl_multi does not block. I was able to use that plus connection tracking to solve my problem. Thanks Ash and Andrew. Mike > On Thu, Jun 17, 2010 at 9:05 AM, Michael Alaimo > wrote: >> I am trying to use register_shutdown_function.  Previous to the script >&g

Re: [PHP] curl help or other suggestion

2010-06-17 Thread Michael Alaimo
> On Thu, 2010-06-17 at 09:05 -0400, Michael Alaimo wrote: > >> I am trying to use register_shutdown_function. Previous to the script >> shutting down I use curl to grab a website. >> >> Basically I want to know if the user has hit the stop button or left the >&

[PHP] curl help or other suggestion

2010-06-17 Thread Michael Alaimo
I am trying to use register_shutdown_function. Previous to the script shutting down I use curl to grab a website. Basically I want to know if the user has hit the stop button or left the page prematurely. The only problem is that curl runs and finishes its call before the shutdown function is ca

[PHP] Re: SimpleXML or DOMDocument help

2009-12-10 Thread Michael Alaimo
> Michael Alaimo wrote: >> Hello All, >> >> I have an XML document that has elements as such: >> >> >> Test/Query:Equal> >> >> >> >> >> I cannot figure out how to access

[PHP] SimpleXML or DOMDocument help

2009-12-09 Thread Michael Alaimo
ink the problem is the :. Regards, Mike ***** Michael Alaimo ADNET Systems, Inc. Web Developer Work: 301-286-5569 Cell: 571-332-9210 * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.