[PHP] Advice needed: implementing custom fields in tables

2006-12-12 Thread Denis Gerasimov
Hello list members, I am in a need of implementing custom/used-defined fields mechanism. What I need is adding new fileds to a db table on-the-fly. There are 2 possible options I know: 1. Add a fixed set of text columns named custom_01, custom_02, etc. 2. Alter db tables dynam

RE: [PHP] A way to stop spam on this list

2006-06-19 Thread Denis Gerasimov
Hello Robert, > I think you should quit whining like a spoilt brat *lol*. I get > something like 3 a day. Big fricking whoop. I am subscribed to most of the PHP mailing lists, not only to PHP general. There is the same problem too. So receive something more than just "3 a day". Also I remember t

[PHP] A way to stop spam on this list

2006-06-18 Thread Denis Gerasimov
Hello List Members, I am very tired of deleting spam messages received from PHP mailing lists and I think we all are. As I can see most of the spam messages are in Chinese / Japanese. Since this is an English-only mailing list I would like to suggest blocking all messages containing such C

RE: [PHP] utf-8 in mysql but not outputting as utf-8 on web

2005-12-22 Thread Denis Gerasimov
Hello, Also the first query that is executed to MySQL server has to be: SET CHARACTER SET utf8 This will set the character set for current connection to UTF-8 (default is latin-1). HTH Have a great day, Denis S Gerasimov Web Developer Team Force LLC Web: www.team-force.org RU & Int'l: +

RE: [PHP] GUID or any other unique IDs

2005-10-26 Thread Denis Gerasimov
Hello Ben, > While not ideal, you could do a select on a db. MS SQL and MySQL both have > functions to generate unique id's and I imagine the other databases do as > well. While running a "SELECT uuid()" and hitting the database for each > one of these things is annoying, it is one possible pseudo

RE: [PHP] GUID or any other unique IDs

2005-10-25 Thread Denis Gerasimov
Hello Jasper, > $unique_id = sha1( uniqid( mt_rand(), true ) ); > > which should be very unique and suitable for most purposes. I really need millions of unique IDs - hashing is not suitable for this task (I think so) :-(. Any more ideas? Is there a PHP extension or an external library for gene

[PHP] PHP 4.4.0 references problems when using PEAR::SOAP

2005-10-07 Thread Denis Gerasimov
Hello list, I am facing serious troubles when using PEAR::SOAP with PHP 4.4.0 while it works fine with PHP 4.3.9. PHP 4.4.0 produces many notices like these: Notice: Only variable references should be returned by reference in C:\PHP4\PEAR\SOAP\Value.php on line 118 Notice: Only variable referenc

[PHP] PHP CLI - possible for mass mailing?

2005-09-26 Thread Denis Gerasimov
Hello List, We are working on a PHP project that implements mass mailing to a large number of its subscribers (expected 100,000-200,000 users; not spam mailing BTW). So I am wondering if it is possible to use PHP CLI binary for this purpose and if there are any problems with PHP in this case.

[PHP] gettext() troubles

2005-09-23 Thread Denis Gerasimov
Hello List, I am facing some troubles with gettext. phpinfo() says that both of gettext and iconv extensions are installed properly, I can call gettext() function but it never translates my strings returning the original key every time. Here is the code: Below is the output: D

RE: [PHP] .INC files

2005-06-02 Thread Denis Gerasimov
OK... Let me explain a couple things... > On Wed, June 1, 2005 1:29 am, Denis Gerasimov said: > > Second, which way are you differ PHP .inc files from HTML .inc files? > > There is no such thing as an HTML .inc file. :-) I see what you mean... but I use templating systems t

RE: [PHP] .INC files

2005-06-01 Thread Denis Gerasimov
ay: Order allow,deny Deny from all Second, which way are you differ PHP .inc files from HTML .inc files? Many programs can't too... IMHO it is very inconvenient. Third, I always write context-independent include files. Objections? Thank you. Best regards, Denis Gerasimov, Chief

RE: [PHP] Re: [PHP-I18N] Multilingual Web application - how to?

2005-04-10 Thread Denis Gerasimov
> > > Web server is Apache2+mod_rewrite with PHP5 > > How is this working for you ? I think there is alot of anticipation to get > this combo working ok withthreading :) It works fine for us. However, our Web server never was under heavy stress. > > -- > PHP General Mailing List (http://www.

[PHP] Multilingual Web application - how to?

2005-04-08 Thread Denis Gerasimov
? What are other possible solutions for the above issues? Best regards, Denis Gerasimov Outsourcing Services Manager, VEKOS, Ltd. www.vekos.ru -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Problem connecting to MySQL with PEAR::DB and mysqli

2005-02-18 Thread Denis Gerasimov
* functions and look if it will work. And, of course, check MySQL user priviliges/hosts twice! Best regards, Denis Gerasimov Outsourcing Services Manager, VEKOS, Ltd. www.vekos.ru > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 17

[PHP] RE: [PHP-DB] mysqli connection problem

2005-02-08 Thread Denis Gerasimov
> > Hello, > > > > This question was asked many times, but I can't find a good answer. > > I am getting this error message while trying to connect to MySQL server > (PHP > > + PEAR::DB_DataObject): > > > > "Can't connect to local MySQL server through socket '' (111)" > > > > (notice '' - is that

[PHP] mysqli connection problem

2005-02-07 Thread Denis Gerasimov
Hello, This question was asked many times, but I can't find a good answer. I am getting this error message while trying to connect to MySQL server (PHP + PEAR::DB_DataObject): "Can't connect to local MySQL server through socket '' (111)" (notice '' - is that right?) Does anyone have any ideas

RE: [PHP] chm file for tutorial

2004-10-25 Thread Denis Gerasimov
BTW does anybody know why CHM version hasn't been updated for a very long time? I prefer to read help manuals in CHM format (that is more convenient for me) so I am wondering... Best regards, Denis Gerasimov Outsourcing Services Manager, VEKOS, Ltd. www.vekos.ru > -Original

[PHP] FW: PHP posting confirmation for denis.gerasimov@vekos.ru

2004-10-07 Thread Denis Gerasimov
nfo.ru (8.12.11/8.12.11) with ESMTP id i978MmEH090641; > Thu, 7 Oct 2004 12:22:48 +0400 (MSD) > (envelope-from [EMAIL PROTECTED]) > Received: from win2kprows03 ([195.161.219.41]) > by setteh-mtc.relinfo.ru (8.12.8/8.12.8) with ESMTP id > i978MWCE010717; > Thu,

[PHP] RPM package for PHP5

2004-08-31 Thread Denis Gerasimov
Hello all, Is there any RMP package for PHP 5.0.1 available? (Our server runs under RedHat Linux Fedora Core 1 (RedHat Linux 10)) Best regards, Denis Gerasimov Outsourcing Services Manager, VEKOS, Ltd. www.vekos.ru -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http