|
Posted by Jerry Stuckle on July 17, 2008, 6:31 am
Please log in for more thread options Kill Joy wrote:
>> Kill Joy wrote:
>>> foreach($log as $value){
>>> if(eregi("vim", $value)) {
>>> echo $value."";
>>> }
>>> }
>> Hi Gius,
>>
>> I tried it and it worked for me:
>> i.e. I duly received these two lines:
>>
>> /* Vim-generated file */
>> //Generated settings file for Vim project.
>>
>> ???
>>
>> Cheers
>>
>> juergen
>
>
> I have a file generated by an application. If I search on this file I
> get nothing.
> But if I copy and paste the content of this file into another file,
> with the second file
> it works. Why?
>
> Cheers.
>
> Gius.
>
Let's see... My crystal ball says it could be (in no particular order):
File format
File permissions
File still open
A bug in your code
Something else
But it can't tell which of the above might be the problem. It does,
however, ask you not to top post.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
|