[PHPLIB] oohforms is SLOW SLOW SLOW! From: Bob Strouper (bobw123 <email protected>)
Date: 10/30/99

Hello,

Without pasting my code which is very simple, I find that
oohforms is taking up to 20 seconds on my local machine!!!

The display of the initial form takes 4 seconds but the
submitting of the form takes 25 seconds or more!
and I am not doing anything more on the submission, I'm
not actually doing anything with the form data... all I'm
doing is displaying OK.

I'm on win95 using the CYGwin ( not cgi ;-) mod_php version
of php3.07 and Apache with mysql... see:
http://www.student.uni-koeln.de/cygwin/Distribution/Binary/?item=camp

In trying to figure out why this is so damn slow I was thinking
maybe it is the CYGwin port. But, I would think that the module
version that I am using would be much faster than the cgi
version of php.

Also, I can't use the cgi version on my win95 machine anyway.
( see Kristian's post: http://lists.netuse.de//phplib/9910/0237.html )
As far as I know I have to use this module version of php on my
win95 platform for the following reason. If I use the CGI, I need
phpcgi compiled with --enable-force-cgi-redirect so I won't
get the paths /cgi-bin/... And the win phpcgi is not compiled
with this option... so hence the CYGwin port.

So anyway I can't figure out what the speed problem could be.
Since the initial display of the oohforms pages take only ;-)
4 seconds, it can't be the DB_sql calls to build the droplist
form elements and since there is no more DB calls ( in my
example I have disabled all session, page, auth etc
management) and the form is not actually entering any data into
the database, I've come to the conclusion that it must be
the server side VALIDATE code that oohforms uses.

Any Ideas would be much appreciated.

I am using phplib 7.2

Thank you,
Bob

__________________________________________________
FREE Email for ALL! Sign up at http://www.mail.com

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.