CGI Questions

valetia at mac.com valetia at mac.com
Thu Mar 13 09:40:01 EST 2003


Hi all,

A couple of related questions regarding CGI:


1. If you have numerous CGI routines, and you want to split them up into
libraries, and only use the appropriate ones when the need arises, what is
the best way to go about doing this?

With PHP for instance, you would use require(). Is there something similar
on the MC side?


2. I currently am aware of 2 methods of doing the above with MC:

a) Use "send to stack", and
b) Use "start using stack"

However, both require a stack to be loaded into memory (rather than just a
faceless CGI text file).

Is this a significant issue (memory and performance-wise), and if so, what
would be a better way to do this?

Also, if it was between the two methods mentioned above, which one would be
more efficient?


TIA,
Valetia




More information about the metacard mailing list