You are here: Re: include_once() within a function « PHP Programming Language « IT news, forums, messages
Re: include_once() within a function

Posted by Mikhail Kovalev on 09/08/07 21:21

On 8 Sep, 23:15, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> Mikhail Kovalev wrote:
> > On 8 Sep, 22:33, Michael Fesser <neti...@gmx.de> wrote:
> >> .oO(Mikhail Kovalev)
>
> >>> On 8 Sep, 22:05, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> >>>> But the real question is - why does it take several seconds to load?
> >>>> I've never had a PHP file take that long!
> >>> It loads a 1,8 MB array stored as serialized in a file....=)
> >> Just curious - what's in that array? Wouldn't it be possible to use a
> >> database instead?
>
> >> Micha
>
> > It's a tree of 20 levels. Like arrays in an array in etc
>
> > I have no experience with Mysql which would be the only option in my
> > case, sort of new to php as well, and im unsure of amount of work
> > needed to rewrite the code,
> > Load time is only some 10-15 seconds anyway, but very heavy on RAM on
> > my machine, illl tell you hehe
>
> A relational database would speed things up considerably. Especially if
> you don't need all of the items.
>
> And 10-15 seconds? Very few users are going to wait that long, and only
> the most desperate will do it repeatedly.

i can imagine =)
well good news is it's not a web application, just for personal use,
using php to analize some statistics

 

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

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