[PHP-DB] PHP - Mysql privileges

2003-10-26 Thread Karina S
I use php with mysql database. User can insert, update, delete, view table data from indexed tables. What kind of privileges do I have to add for a mysql user? Insert/Update/Delete/Select are enough or I have to add more such as Index too? Thanks! -- PHP Database Mailing List (http://www.php.ne

[PHP-DB] PHP-Mysql speed

2003-10-12 Thread Karina S
Hello, I use PostNuke witm Mysql 4 on my php site and I have about 6000 visitors pro day. The server is a 2,4Ghz P4 with 1Gb RAM. My problem is that the server run on 40-45%. As I know PostNuke use ADO connection. Are the normal Mysql php function faster than the ADO variant? How big is the diffe

[PHP-DB] Secure variable transport (newbie)

2003-01-22 Thread Karina S
Hi, I have read, that use global variables on php site is not a good idea. I'm newbie in PHP and maybe a stupid question: If I make an array and register it in a session and after I use it all of my pages as $HTTP_SESSION_VARS['variable'] and register_globals is off. In this case is $HTTP_SESSION_