You are here: Re: 'grep' a file - output to browser not working « PHP Programming Language « IT news, forums, messages
Re: 'grep' a file - output to browser not working

Posted by Phil on 11/01/07 03:52

I should point out that I know this has something to do with the file-
size. With a small file it works OK. With a large file it fails to the
browser. In this case, a large file is up to 3.5GB of uncompressed
ASCII text. There may be up to 100 files to search - I can do that
part I think, once I get it to actually search the file! :-) Any help
GREATLY appreciated.

Probably I should mention that I am not a full-time developer ... I'm
quite good with shell scripts, REGEX and procedural languages ... I'm
a hacker at best with PHP :-) I'm more of a systems person.

On Oct 31, 5:45 pm, Phil <phillip.corch...@gmail.com> wrote:
> I cannot figure why this works fine at the command-line of the linux
> server, but will not output anything to the browser, and no errors in
> the error_log (syslog). The goal here is to have a page to enter a
> search term and grep or zgrep pattern matches in the file (will be a
> log file). Probably there is a better way to do this using php, but
> this is what I was able to come up with using my limited php-
> knowledge. Can anyone help me debug this?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация