php-general Digest 27 Jul 2008 18:50:28 -0000 Issue 5592

2008-07-27 Thread php-general-digest-help
php-general Digest 27 Jul 2008 18:50:28 - Issue 5592 Topics (messages 277367 through 277372): Start/Stop Service from program php 277367 by: opc.orenses.com 277368 by: Micah Gersten 277371 by: Daniel Brown Re: Regular Expression help need 277369 by: Richard

Re: [PHP] Regular Expression help need

2008-07-27 Thread Richard Heyes
Before: phi strongRichard/strong, good morninglt;/p After: phi strongRichard/stronggt;, amp; good morninglt;/p By the sounds of it negative look ahead assertions may be of some help. Or look behind assertions. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List

Re: [PHP] Regular Expression help need

2008-07-27 Thread James Dempster
On Fri, Jul 25, 2008 at 1:08 PM, Shelley [EMAIL PROTECTED] wrote: Hi Richard, Not exactly actually. What I mean is: Before: phi strongRichard/strong, good morninglt;/p After: phi strongRichard/stronggt;, amp; good morninglt;/p I hope it's clear now. On Fri, Jul 25, 2008 at 7:53 PM,

Re: [PHP] Start/Stop Service from program php

2008-07-27 Thread Daniel Brown
On Sat, Jul 26, 2008 at 11:48 PM, Micah Gersten [EMAIL PROTECTED] wrote: Generally, apache runs as www-data. What was the output of the command? Actually, Apache generally runs (in order) as nobody, apache, httpd, or daemon. Some distros (such as Ubuntu) or control panel installations

[PHP] SOLUTION [Fwd: Start/Stop Service from program php]

2008-07-27 Thread opc
In the /var/log/secure i can see sudo: apache : sorry, you must have a tty to run sudo; TTY:unknown So, i edit line and comment in visudo to next ### Default requiretty And, eureka, work fine from a web page Thanks all Mensaje original

[PHP] Problem with using array_diff and array_combine

2008-07-27 Thread Richard Kurth
I hope I can explain what I am trying to do. I have two tables the first one has the custom form elements formelements_id formelements_field_type formelements_field_caption members_id 35 texttest8 36 texttest2 8 The second one has the customer id and the field value

RE: [PHP] get current php locale

2008-07-27 Thread Jay Blanchard
[snip] is there a way to get the current locale being used by php and the encoding it uses? [/snip] Do you mean the locale where the computer connecting to the service is using PHP? Remember, PHP is server side and has no way of gathering data from a 'local' machine unless coupled with something