Re: fail on preg_match_all

From: Date: Thu, 21 Feb 2008 05:45:44 +0000
Subject: Re: fail on preg_match_all
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-269768@lists.php.net to get a copy of this message
On Wed, 2008-02-20 at 23:34 -0600, Hamilton Turner wrote: > if i know the file handle is valid (i grabbed it using 'or die'), and ^^^^^^^^^^^^^ This is probably your problem, you are trying to match on a resource handle, not a string or something. Check out http://www.php.net/preg_match_all > the regex is valid Won't really matter if the data is in the wrong format! --Paul -- ------------------------------------------------------------. | Chisimba PHP5 Framework - http://avoir.uwc.ac.za | :------------------------------------------------------------:

« previous php.general (#269768) next »