|
Posted by lawrence k on 06/01/06 18:40
Rik wrote:
> lawrence k wrote:
> > My system has 1800 PHP files. I can't go through them one at a time
> > looking for white space.
>
>
> a real editor could search files
> for input before '<?'.
Good point. Homesite could do that for me, or Jedit. I appeciate the
suggeston.
> Or use ob_start()
> And 1800 if(ob_get_contents()!='') echo "problem is
> before".__FILE__','__LINE__;'s
Thanks, that is a great idea. I'll try to rig up a test.
> - I'm very curious on what bases you put code in different files, and what
> the exact goal of your script actually is to include that many.
> - I'd suggest a more sensible grouping then "1800 files", so you can exclude
> groups (maybe fake output) of files in this kind of troubleshooting.
Every function and class is in its own file, because usually less than
300 are needed for any given project, so there is no point including
them all on every page. There is a central object that includes them
when they are needed.
[Back to original message]
|