Re: fail on preg_match_all

From: Date: Thu, 21 Feb 2008 16:38:28 +0000
Subject: Re: fail on preg_match_all
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-269795@lists.php.net to get a copy of this message
On Wed, February 20, 2008 11:34 pm, Hamilton Turner wrote: > Does anyone know why a server would simply fail on this line? > > $num = preg_match_all($regex, $theData, $match, PREG_SET_ORDER); > > if i know the file handle is valid (i grabbed it using 'or die'), and > the regex is valid Define "fail"... There are any number of things that could be going wrong. Check your logs, dump out the data, etc -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So?

« previous php.general (#269795) next »