PDA

View Full Version : server handling - how much?


scroots
05-09-2003, 08:43 PM
if i build a php script to act as a main page and all content is got from flat files, passed through php and outputed as html to the browser. What would be a general say line or file size limit of my php script? to have the server not die?


scroots

firepages
05-10-2003, 01:51 AM
...it would have to be very big to kill anything..

I dont think there is a guideline for this as such, I have the occaisional 50KB+ script but most would be 10-30KB ?

more important perhaps is what the script actually does and if it is resourse intensive that it is as efficient as possible.

scroots
05-10-2003, 01:42 PM
the script reads from several (2-3) text files and outputs it to the browser along with the html inside the php page.

thanks
scroots