Reply to Re: Massive problem with output buffering

Your name:

Reply:


Posted by The Natural Philosopher on 11/21/07 22:47

jools@by.com wrote:
> Just so you dont all think I'm completely mad - if I just do this
>
> // unlink('text.txt');
>
> and leave the text file on the drive - the output at sequence 2 is
> suddenly correct.
> (I have tried clearstatcache(); at various places too...)
>
> I'll post the sample as soon as I've cut it down.
>
> thanks
> -jools-
>
You should be doing fopen(), fwrite(), fread(),fclose() & unlink ().

In this case I doubt the file will ever appear on any disk at all, but
it should be consistent within php itself.

If as I discovered, you want to do something outside PHP with it. its
fopen(), fwrite(), fclose(), copy(), exec [do something else], unlink(),
unlink(copy);

[Back to original 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

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