RE: [PHP] Call to undefined function

2011-06-23 Thread admin
Okay, I am just start apologizing for my own ignorance. In the task scheduler I told the php.exe to use a older configuration file. TOTALLY my fault, seems PHP.ini file I used for the web was not the one I pointed the task manager at. Resolved and I will crawl back under my rock and read m

[PHP] Get all the keys from a hierarchical hash

2011-06-23 Thread Scott Baker
I have a multi-tier hash (see below) and I'd like to be "search" the hash for a given $id, and return that section, regardless of how many layers deep it is. Sort of like how xpath works? Once I have that I'd like get ALL the children of a given node. So I could ask for 86, and get 36, 38, 56, etc

Re: [PHP] Call to undefined function

2011-06-23 Thread Shiplu Mokaddim
Sent from a handheld device On 24-Jun-2011, at 5:53 AM, wrote: > I am running a scheduled task for the first time since switching from linux > to Windows IIS > > I am getting an error when the task runs. > > Fatal error: Call to undefined function mysql_connect() > > > I ran php.exe -m to

[PHP] Call to undefined function

2011-06-23 Thread admin
I am running a scheduled task for the first time since switching from linux to Windows IIS I am getting an error when the task runs. Fatal error: Call to undefined function mysql_connect() I ran php.exe -m to see that the MySQL Module is loaded. I have no issues unless I am running a php fi

Re: [PHP] php session_start dead lock

2011-06-23 Thread Daniel Brown
On Thu, Jun 23, 2011 at 15:27, Zaccone, Warren wrote: > We recently started experiencing a problem on our server (httpd 2.2.19, PHP > 5.3.6) where all of the apache child processes hang in PHP code and no longer > process requests. > >  I  am running Apache as prefork on Solaris 10 with 256 chil

[PHP] php session_start dead lock

2011-06-23 Thread Zaccone, Warren
We recently started experiencing a problem on our server (httpd 2.2.19, PHP 5.3.6) where all of the apache child processes hang in PHP code and no longer process requests. I am running Apache as prefork on Solaris 10 with 256 children, and found that within a few minutes all 256 httpd chi

Re: [PHP] Create a hierarchical hash from flat source

2011-06-23 Thread Robert Cummings
On 11-06-23 12:54 PM, Tamara Temple wrote: On Jun 22, 2011, at 5:24 PM, Scott Baker wrote: On 06/22/2011 03:17 PM, Simon J Welsh wrote: You still need to pass the value by reference to assign_children(), so: $new =&$leaf[$pid]; assign_children($pid,$list,&$new); One last thing I fixed was t

Re: [PHP] jQuery to PHP

2011-06-23 Thread Tim Streater
On 23 Jun 2011 at 14:56, Ethan Rosenberg wrote: > At 05:21 PM 6/22/2011, you wrote: >> 2) Instead of doing alert("yippee"), seems to me you should alert on >> the results of the ajax call. I don't know how you get at those with >> jquery, but I imagine that is where you'll find the results of d

Re: [PHP] Create a hierarchical hash from flat source

2011-06-23 Thread Tamara Temple
On Jun 22, 2011, at 5:24 PM, Scott Baker wrote: On 06/22/2011 03:17 PM, Simon J Welsh wrote: You still need to pass the value by reference to assign_children(), so: $new = &$leaf[$pid]; assign_children($pid,$list,&$new); One last thing I fixed was that PHP was complaining that run-time pas

Re: [PHP] Memory limit Problem

2011-06-23 Thread Graham Drabble
On 23 Jun 2011 ja...@nixsecurity.org wrote in news:23a261c.efc7a3a4b4a0468ab221437b2018e...@webmail.lomag.net: > > Check the value of the upload_max_filesize and post_max_size > directives in the php.ini. >From phpinfo() upload_max_filesize 800M 800M post_max_size 1000M 1000M (fwiw the fil

Re: [PHP] Memory limit Problem

2011-06-23 Thread james
Check the value of the upload_max_filesize and post_max_size directives in the php.ini. > Original Message >From: Graham Drabble >To: php-general@lists.php.net >Sent: Thu, Jun 23, 2011, 9:46 AM >Subject: [PHP] Memory limit Problem > >Hi, > >I've got a problem with setting the memory l

Re: [PHP] Memory limit Problem

2011-06-23 Thread Peet Grobler
On 6/23/2011 3:29 PM, Graham Drabble wrote: > (ie it seems I only have 128M available). > > There's plenty of RAM on the server. > > Any ideas? Check for the upload_max_filesize parameter. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Memory limit Problem

2011-06-23 Thread Graham Drabble
Hi, I've got a problem with setting the memory limit in php.ini. I have memory_limit = 1024M ; set in php.ini Checking with phpinfo says I have memory_limit 1024M 1024M However when uploading a large file I get Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to all

[PHP] Re: URL Rewriting

2011-06-23 Thread Geoff Lane
On Thursday, June 23, 2011, Ashley Sheridan wrote: > I've not yet seen any evidence yet that pretty URLs actually benefit > SEO. I regularly search for answers to problems online, and mostly I > get forums as the results, all of which have URLs like > showthread.php?t=1234567 Anecdotal perhaps, b

Re: [PHP] URL Rewriting

2011-06-23 Thread Ashley Sheridan
Silvio Siefke wrote: >On Wed, 22 Jun 2011 17:50:49 -0400 Daniel P. Brown wrote: >> > Has someone a Link with Tutorials or other Information? >> >> Not entirely sure what you're asking here, or how you (or the >> nginx folks) expect it to relate to PHP. Do you mean that you want >to >> use