[PHP] Re: Installing on a Mac: include_path issues

2011-05-04 Thread David Robley
Ken Kixmoeller wrote: > Hey, folks -- -- > > I am switching over my development (I hope) to a Mac. Having some > trouble with the configuration. Rudimentary scripts run fine in the > document_root, but beyond that, my scripts in the include_path are not > found. > > The include_path has a couple

[PHP] Installing on a Mac: include_path issues

2011-05-04 Thread Ken Kixmoeller
Hey, folks -- -- I am switching over my development (I hope) to a Mac. Having some trouble with the configuration. Rudimentary scripts run fine in the document_root, but beyond that, my scripts in the include_path are not found. The include_path has a couple of directories in which I have my foun

Re: [PHP] filter_var using regex

2011-05-04 Thread Ashley Sheridan
On Wed, 2011-05-04 at 13:46 -0600, Jason Gerfen wrote: > On 05/04/2011 01:27 PM, Ashley Sheridan wrote: > > On Wed, 2011-05-04 at 13:20 -0600, Jason Gerfen wrote: > > > >> I am running into a problem using the REGEXP option with filter_var(). > >> > >> The string I am using: 09VolunteerApplicatio

Re: [PHP] using XHTML FRAMESET with Zend Layout on Zend_App (MVC)

2011-05-04 Thread Bjoern Bartels
hello Dare! it seems you got something wrong there... the .phtml files are not meant to be called directly. for the frames' src-attributes you'll have to provide a full URI calling another controller's/module's action to output the frame content. YT BB [ Björn Bartels ]

Re: [PHP] filter_var using regex

2011-05-04 Thread Jason Gerfen
On 05/04/2011 01:27 PM, Ashley Sheridan wrote: > On Wed, 2011-05-04 at 13:20 -0600, Jason Gerfen wrote: > >> I am running into a problem using the REGEXP option with filter_var(). >> >> The string I am using: 09VolunteerApplication.doc >> The PCRE regex I am using: >> /^[a-z0-9]\.[doc|pdf|txt|jpg|

Re: [PHP] filter_var using regex

2011-05-04 Thread Ashley Sheridan
On Wed, 2011-05-04 at 13:20 -0600, Jason Gerfen wrote: > I am running into a problem using the REGEXP option with filter_var(). > > The string I am using: 09VolunteerApplication.doc > The PCRE regex I am using: > /^[a-z0-9]\.[doc|pdf|txt|jpg|jpeg|png|docx|csv|xls]{1,4}$/Di > > The function in it

[PHP] filter_var using regex

2011-05-04 Thread Jason Gerfen
I am running into a problem using the REGEXP option with filter_var(). The string I am using: 09VolunteerApplication.doc The PCRE regex I am using: /^[a-z0-9]\.[doc|pdf|txt|jpg|jpeg|png|docx|csv|xls]{1,4}$/Di The function in it's entirety: return (!filter_var('09VolunteerApplication.doc', FILTER_

Re: [PHP] what would be the best way to build a 'add page function' to my cms?

2011-05-04 Thread Adam Preece
Hi Tedd, thank you for your response, i am in the process now of creating this function, and its very deceptive how complex you can actually make it. but im sure i'll get there. i have taken a some of your points into consideration. thanks again. On 4 May 2011, at 17:20, tedd wrote: > At 7:

Re: [PHP] what would be the best way to build a 'add page function' to my cms?

2011-05-04 Thread tedd
At 7:19 PM +0100 5/2/11, Adam Preece wrote: the reason, why i don't want to use word press and any other open source solution, is that i want to learn how it is all done. im sure i can figure it out myself but i would like to ask others and see how they would tackle it. the idea with the modu

RE: [PHP] sem_get invalid argument for existing semaphore

2011-05-04 Thread Jeremy Greene
Sorry for the bad formatting... Anyway, I did figure out the problem: php creates/expects each system v semaphore to be a semaphore group of 3. So, not only is that weird, it really should be documented. Jeremy -Original Message- From: Jeremy Greene [mailto:jer...@zeevee.com] Sent: Wedn

Re: [PHP] sem_get invalid argument for existing semaphore

2011-05-04 Thread Mike Mackintosh
Are you using the whole hex key or removing the 0x prefix? Sent from my iPhone On May 4, 2011, at 8:13, "Jeremy Greene" wrote: > Hi, > > > > I am trying to do a sem_get on a semaphore that has already been created > by > > a c++ program. But I'm getting this warning: > > > > PHP Warning

[PHP] sem_get invalid argument for existing semaphore

2011-05-04 Thread Jeremy Greene
Hi, I am trying to do a sem_get on a semaphore that has already been created by a c++ program. But I'm getting this warning: PHP Warning: sem_get(): failed for key 0x31006dc2: Invalid argument in /home/jgreene/views/latest/lcast/apps/webapp/webApp.php on line 11 Here is the line 11:

[PHP] lots of lstats when maintainer-zts is enabled

2011-05-04 Thread Seth Miller
I'm attempting to run PHP as an Apache2 module using the worker MPM. I understand this is not recommended but because of the nature of the application and traffic on the servers, prefork and CGI have not preformed well for me. I'm running this in production right now and most of the site is runn