Re: [PHP] Regex in PHP

2008-06-03 Thread Liran Oz
You can use this: $str = '[EMAIL PROTECTED]'; preg_match('/[EMAIL PROTECTED]@(.+)/', $str, $matches); var_dump($matches);//will be in $matches[1] Or without regex: echo substr($str, strpos($str, '@')+1); Liran - Original Message - From: VamVan [EMAIL PROTECTED] To:

Re: [PHP] function returns no value

2008-04-20 Thread Liran Oz
Can't really know without the rest of the code. Check if the function really returns and not Dying (Add some messege like: die(help me I'm dying); ). Also use print_r or something like to see what's inside the fields array. it is possible that it's an associative array and you are using the

Re: [PHP] What means Fatal error: pcntl_fork(): Error 11?

2006-05-04 Thread Oz
of processes or a lack of any system resource. However, thank you all for your help. - Oz Robin Vickery wrote: On 02/05/06, Oz [EMAIL PROTECTED] wrote: Hi, My script dies with the following line (after a few hours running without other errors/warnings/notices): Fatal error: pcntl_fork(): Error 11

Re: [PHP] What means Fatal error: pcntl_fork(): Error 11?

2006-05-03 Thread Oz
Richard Lynch wrote: On Wed, May 3, 2006 12:51 am, Oz wrote: Richard Lynch wrote: On Tue, May 2, 2006 11:29 am, Oz wrote: My script dies with the following line (after a few hours running without other errors/warnings/notices): Fatal error: pcntl_fork(): Error 11 in /home

[PHP] What means Fatal error: pcntl_fork(): Error 11?

2006-05-02 Thread Oz
PHP5 and the scripts source is top secret.) Thanks for your time, - Oz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What means Fatal error: pcntl_fork(): Error 11?

2006-05-02 Thread Oz
Jay Blanchard wrote: [snip] My script dies with the following line (after a few hours running without other errors/warnings/notices): Fatal error: pcntl_fork(): Error 11 in /home/foo/bar.php on line 297 Is there any documentation for pcntl_fork(): Error 11? Does anybody know what causes

Re: [PHP] What means Fatal error: pcntl_fork(): Error 11?

2006-05-02 Thread Oz
Richard Lynch wrote: On Tue, May 2, 2006 11:29 am, Oz wrote: My script dies with the following line (after a few hours running without other errors/warnings/notices): Fatal error: pcntl_fork(): Error 11 in /home/foo/bar.php on line 297 Is there any documentation for pcntl_fork(): Error 11

[PHP] I am not able to download domxml for PHP5

2006-04-11 Thread Oz
Please help, I am not able to download domxml for PHP5 I have tried this location, http://us3.php.net/manual/en/ref.domxml.php I get a message file not found. is there a mirror site. Thanks Please also mail response to [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] I am not able to download domxml for PHP5

2006-04-11 Thread Oz
For some reason my PHP5 does not have DOM. ( I have the version that comes with fedora core 5). Is there a way to activate it. -thanks Oz Joe Wollard wrote: Of course you said you're running PHP5so that won't work. According to the site it would be best for you to use the DOM that comes