This an issue that many people in the PHP community face each day. I would suggest these first very basic ones:
If you have strings that are echo/parsed that you use double quotes but when the string contains no variable replacement use singles. If you are writing files of considerable size look at the memory limit setting in php.ini and up it for each script. Look at loops and see if something is being counted or calculated each time around if so have it set prior to entry to the loop. Without seeing your scripts I can't suggest anything wonderfull. Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] Tony Crockford wrote: > Hi, > > I'm sure this is an RTFM, but I'm not sure where I should be looking. > > is it quicker for PHP to execute <? echo $var ?> in blocks of html or to > echo all of the html and only have one <? and ?> > > I'm using a PHP script to write a lot of html files to hard disk and the > script execution time is climbing beyond the maximum set in PHP.ini > (I've changed the setting, but...) > > I'm looking to shave milliseconds of each execution, any ideas, pointers > or tutorials you could point me to. > > Thanks > > > Tony > > -- Timothy Hitchens (HiTCHO) Web Application Analyst and Developer e-mail: [EMAIL PROTECTED] mobile: 0419 521 440 ------------------------------------------------- HiTCHO Group - ABN: 85 816 540 110 Web Site: http://www.hitcho.com.au/ Snail Mail: PO Box 101 Arana Hills QLD 4054 Telephone: 07 3351 0951 - Facsimile: 07 3351 0952 IMPORTANT: This email may be the view of the individual and not that of the organisation. The contents of this electronic mail (including attachments) may be privileged and commercially confidential. Any unauthorised use of the contents is expressly prohibited. If you have received this document in error, please advise us by telephone immediately and then delete the document. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php