> Does anyone know either a good program or tutorial to optimize
> PHP code and
> connections to MySQL? I love this cart but am finding it quite slow and
> would like to speed it up abit.
There aren't any major pain points in the PHP code that I know of. There
are
two things you can do to speed up MySQL. First, there really aren't
adequate
indexes on the tables. Take inspiration from the FreeTrade 2 build script.
The other thing is to tune MySQL itself. There's information in the MySQL
documentation about how to do both of these things.
> Also I do not like the blank "your cart is empty" screen, or the
> blank"your
> logged in" screen, where is the code I can change to change where the
> customer goes in these situations. I would like them to go to the home
> (welcome) page when logged in.
> Any thoughts?
There's two places to control what screen you go to. First, you can send
the SCREEN variable in the form or link. Second, you could set $SCREEN
inside your action module (in this case LOGIN_USER).
Leon
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]