Need some help here...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ewan_coh
Forum Newbie
Posts: 1
Joined: Wed Apr 23, 2003 9:37 pm
Contact:

Need some help here...

Post by ewan_coh »

can someone give me some tips on how to speed up the loading time of my script. im currently working on a forum and everytime i load it, it always took a minute or two to load.

by the way, i used macromedia dreamweaver mx on working on forum script.

tnx.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

How many lines in the script? How many querys does your script run? Do you have the Zend Optimizer? How quick (ram/processor) of a server do you have?
[]InTeR[]
Forum Regular
Posts: 416
Joined: Thu Apr 24, 2003 6:51 am
Location: The Netherlands

Post by []InTeR[] »

The most time in my scripts is time to transfer thing to and from my database server.

Keep query's limited, let the database server do the most proccesing of the data. And only select what you need.

And also a good indexes on the database will help
Post Reply