the design of running scripts
Posted: Wed Jan 07, 2004 8:05 am
Just wondering this
normally (well everytime) i see people writing there scripts be it inserting a record or deleting, whatever they always pass it onto another page for it to be processed, I HAVE NEVER DONE THIS, i always do it on the same page and just redirect the user (basially refresh the page) is this bad? or just the scripters preference?
i understand that it could bloat a pages code (damn i have pages with 300+ lines of PHP code
normally (well everytime) i see people writing there scripts be it inserting a record or deleting, whatever they always pass it onto another page for it to be processed, I HAVE NEVER DONE THIS, i always do it on the same page and just redirect the user (basially refresh the page) is this bad? or just the scripters preference?
i understand that it could bloat a pages code (damn i have pages with 300+ lines of PHP code