Re: [PHP] In a shared environment...

2002-09-19 Thread Leonid Mamtchenkov
development, then you do not usually write to files. You use database. If there is something you absolutely HAVE to write to file, then you can use /tmp directory for that purposes. -- Best regards, Leonid Mamtchenkov, RHCE System Administrator Francoudi Stephanou Ltd. BOFH: It's stuck

Re: [PHP] Auto-increment value

2002-09-18 Thread Leonid Mamtchenkov
]] Sent: Wednesday, September 18, 2002 7:41 PM To: PHP Subject: Re: [PHP] Auto-increment value MySQL has |LAST_INSERT_ID() function, try it (SELECT ||LAST_INSERT_ID())| -- Best regards, Leonid Mamtchenkov, RHCE System Administrator Francoudi Stephanou Ltd. BOFH: HTTPD Error 666 : BOFH

Re: [PHP] Auto-increment value

2002-09-18 Thread Leonid Mamtchenkov
that 24807 is your oid. Check the difference between SELECT * FROM table; and SELECT oid,* FROM table;. HTH. -- snip snip -- if($result = pg_exec($db, $sql)) { $query = success; echo oid : .pg_last_oid($result); } -- snip snip -- -- Best regards, Leonid

Re: [PHP] Mail system with folders?

2002-09-11 Thread Leonid Mamtchenkov
of examples at http://www.freshmeat.net or any other software repository. Do not reinvent the wheel. ;) -- Best regards, Leonid Mamtchenkov, RHCE System Administrator Francoudi Stephanou Ltd. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Load / Stress Testing

2002-09-09 Thread Leonid Mamtchenkov
. There is a benchmarking utlity that comes with apache, called ab. HTH. -- Best regards, Leonid Mamtchenkov, RHCE System Administrator Francoudi Stephanou Ltd. BOFH excuse #159: Stubborn processes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php