hi all,
I have this function:
function preg_array($pattern, $array, $r_array)
{
global $match;
global $r_array;
foreach ($array as $key = $value)
{
if (preg_match($pattern, $value,$match))
{
$GA=array_slice($match,1);
break;
}
}
return array ($GA,
with the first version of the preg_array function? do I really
need to have the same array name in order to retrieve the third argument of
the function?
Thanks for your help,
yvan
On 4/18/07, Yvan Strahm [EMAIL PROTECTED] wrote:
Hi all,
I have this code ( but you already know it ;-) :
function preg_array($pattern, $array, $r_array)
{
global $match;
global $r_array;
foreach ($array as $key = $value)
{
if (preg_match($pattern, $value,$match
');
--
Postgresql php tutorials
http://www.designmagick.com/
Thanks for the hint. I found s solution to execute the php script from the
cron scheduler: add a at the end of the crontab command
Thank for your help.
yvan
Hello all,
I don't know if it's the correct list, but as a php script is involved
I try to start a set up a crontab job with crontab -e, which should start a php
script:
*/10* * * * cd /Users/yvan/Sites/est-pac/ ;
/usr/bin/php /Users/yvan/Sites/est-pac
.]
- Rick
Shell command as cron jobs work and errors are also send to the local mail, but
php scripts are not executed, is their any permission issues ?
the same con job work fine on a centos box.
Thank anyway for the hints
yvan
Original Message
Date
On March 28, 2007, Chris wrote:
Yvan wrote:
Hello all,
I don't know if it's the correct list, but as a php script is involved
Nope, not the right list. Cron isn't running - which has absolutely
nothing to do with php.
I try to start a set up a crontab job with crontab -e
On 3/23/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Fri, March 23, 2007 7:52 pm, Yvan Strahm wrote:
I am confused with the flock function and its usage. I have jobs which
are
stored in a database, these jobs are run by a series of job_runners
scripts
but sometimes the job_runners stop
On 3/23/07, Myron Turner [EMAIL PROTECTED] wrote:
Richard Lynch wrote:
On Fri, March 23, 2007 7:52 pm, Yvan Strahm wrote:
I am confused with the flock function and its usage. I have jobs which
are
stored in a database, these jobs are run by a series of job_runners
scripts
but sometimes
.
So how could prevent multiple instance of the same script? Is flock the best
way?
Thanks in advance for your time and help
cheers
yvan
10 matches
Mail list logo