Re: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread Georg Richter
On Wednesday 12 March 2003 17:59, Jani Taskinen wrote:
 Of about 20 emails today, 6 were posted to wrong mailing
 list. And one of those generated a 5 email thread about not
 posting to wrong mailing list. (counting this one :)

 So I suggest we finally make this list MODERATED.

-1

I like the mysql ml-model:

a) internals@ for communication between users and developers 

b) a closed list for internal communication between php.net developers. 
Optionally trusted users can be added.

Regards

Georg

P.S: Also removing mail addresses in files/credits/maintainer would be ok for 
me, to stop the dozens of priv mails with stupid mysql questions.

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mysqli mysqli_api.c

2003-02-13 Thread Georg Richter
On Thursday 13 February 2003 18:32, Sebastian Bergmann wrote:

Sebastian, Edink:

could you please report the bugs you detected when compiling MySQL 4.1 under 
Windows to http://bugs.mysql.com too?!

(You need to sign for a webaccount to report bugs)

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Announcement: New MySQL-Extension for PHP 5: ext/mysqli

2003-02-11 Thread Georg Richter
Hi,

The new mysql extension is now in the cvs-repository. Please not that you 
need MySQL Version 4.1 (both server and client library) and that this 
extension has experimental status.

Configuration:

--with-mysqli=/path-to-mysql-4.1  -without-mysql

If you want to use both ext/mysql and ext/mysqli you have to specity 

--with-mysqli=/path-to-mysql-4.1  --with-mysql=/path-to-mysql-4.1 
 

Some new features:

OO and plain interface
Diffrent types of connections (compressed/ssl)
Variable bindings
Support for bigints
Replication support

For some samples check the tests subdir. I'll add documentation within the 
next days.

Regards

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] CVS Account Request: hitcho

2002-12-31 Thread Georg Richter
On Tuesday 31 December 2002 22:39, Philip Olson wrote:

 80% of all questions about PHP on the lists could be
 answered if people read the manual in the first place.
 Wait, make that 95% :)


Philip, we need more examples (and also correct ones). Hitcho is absolutely 
right here. Were also discussed this during the last doc meeting in march 
2002.

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] CVS Account Request: hitcho

2002-12-31 Thread Georg Richter
On Tuesday 31 December 2002 23:51, Timothy Hitchens \(HiTCHO\) wrote:
 My take on all of this is that with examples we can direct people from the
 general
 help lists to these pages or simple copy and paste in as the reply to their
 question.

From the doc-meeting-protocol (phpdoc/RFC/protocol_20020310)

17. Examples
The examples in the manual should be more consistent and useful. A
draft styleguide alredy exists under
phpdoc/RFC/coding_standards. Additional ideas that came up were syntax
highlighting and linking functions in examples to their manual pages,
which need either post-processing of the HTML output or the ext/xslt 
changes already discussed.

We also talked about having a similar feature as the old pre-Windows
Borland IDEs where it was possible to copy working examples to the
clipboard with a special single keystroke. Possible ways to implement
this for plain HTML and for CHM have to be examined ...

Having an example index and additional code-only pages for examples
might be an alternative to this. 

Happy new Year!


Georg


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Quoting behaviour exposed

2002-12-28 Thread Georg Richter
Hi,

I don't understand why lot of people complain about Saschas posting
It was just an information 

After reading this thread I think another script for useless discussions 
would be nice :)

Just my 2 cents

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] PHP 4.3 ToDo

2002-11-14 Thread Georg Richter
On Thursday 14 November 2002 19:58, Steven Roussey wrote:
 Personally, I'd like to see the MySQL extension work again.

 The issue: persistent connections are broken when used heavily.

 Simple fix: _restore_connection_defaults() can be eliminated until fixed
 properly.

As discussed with Derick and Zak we will remove this stuff and wait until a 
resolution inside the api is available (new api-function: 
mysql_reset_connection). To unset all these things (and we can't unset all) 
needs more time than to establish a new connection.

Additionally we should add some warnings into the mysql_pconnect chapter.

Regards

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Status of mysql_db_query()

2002-09-06 Thread Georg Richter

On Saturday 24 August 2002 15:42, Zeev Suraski wrote:
 8 months too late I noticed that someone has deprecated mysql_db_query().

 Can anybody explain the reasoning for deprecating it?  Other than breaking
 tons of sites, I don't see any advantage to it.  Even for efficiency
 junkies, mysql_db_query() is significantly more efficient than the
 mysql_select_db() and mysql_query() combo, if you only make a single query
 on a page (which accounts for a great deal of the pages in my experience).

Ok, here is 1 reason:

DB1 and DB2 both have tables user and test

$db = mysql_connect (.

// select backup db
mysql_select_db(DB2, $db);


// Write something in our production db
mysql_db_query (DB1,  insert into test ... );

// empty test table from backup db
mysql_query  (delete from test);

And what happened?

mysql_db_query switched the current db from db2 to db1 and you deleted all 
the data in the test table from your production db!

Cheers!

The solution is to use mysql_query instead:

// Write something into our production db
mysql_query (insert  into DB1.test )

// empty test table from backup db
mysql_query  (delete from DB2.test) or delete from test


Cause the mysql-clientlib has no functionallity to determine the current 
selected database ist not possible to set the previous selected(default) db 
via mysql_select_db() back. The db field in the mysql structure only contains 
a valid db-entry, when you selected the db with mysql_select_db, not when you 
used mysql_query(USE DB);

Georg




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] MySQL - LOAD DATA LOCAL INFILE

2002-08-08 Thread Georg Richter

Hi,  s

since MySQL-Version 3.23.49 and 4.0.2 the LOAD DATA LOCAL INFILE
option is disabled by default, unless the server and client supports it.

With an external libmysql (and also with the integrated libmysql, which
doesn't support disable load data), we have a little security hole,
because in safe_mode it is possible to load (and view) all the data, which
is under access of the webserver).

I would like to disable LOAD DATA LOCAL INFILE in safe mode. However this
will generate a lot of trouble, since users without shell access aren't able
to import data in their mysql-db.

Any opinions/suggestions?  

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Mail-Header in bug-list

2002-07-26 Thread Georg Richter

Hi 

would it be possible to revert the headers, or put the status at the end of 
the subject?! Its impossible to read the subjects in your mailclient, even if 
you use a terminal.

Thx in advance

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] CVS Account Request: yhyanghong

2002-05-25 Thread Georg Richter

On Saturday, 25. May 2002 10:39, yanghong wrote:
 learnning it

You don't need a cvs-account to learn php.

Georg


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] what does is happening to the list

2002-04-18 Thread Georg Richter

On Wednesday, 17. April 2002 22:11, Eduardo Melo wrote:
 htmldiv style='background-color:'DIV/DIV
 DIV/DIV
 PWhat is happening to the list .../P
 PNo body anwser .../P
 PInbsp;will be waiting for somenbsp;contact.BRBR--/P
 DIV/DIV
 H5Eduardonbsp;Melo/H5/divbr clear=allhrChegou o novo MSN
 Explorer. Instale já. É gratuito! a
 href='http://g.msn.com/1HM500201/N'http://explorer.msn.com.br/abr/htm
l

Could someone ban this guy from php-dev?

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] cvs: ext/baby

2002-03-07 Thread Georg Richter

On Thursday, 7. March 2002 03:21, Rasmus Lerdorf wrote:
  -1,2 +1,6 
  Christine Lerdorf
  Rasmus Lerdorf
 +Buster (working name only) Lerdorf
 +Born 13:26 PDT Wednesday March 6, 2002
 +Weight: 9.0 pounds
 +Length: 19.25 inches

Congratulations Christine and Rasmus!!

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] SAP DB

2002-02-25 Thread Georg Richter

On Monday, 25. February 2002 21:19, Lukas Smith wrote:
  Yes, As I didn't know that SAPDB = AdabasD  I was unaware...

 As far as I know is is pretty much AdabasD but ist not exactly AdabasD
 either. Its basically a fork from all I know.

Yes, its a fork from version 6.1

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] consistent way to handle structs

2002-01-10 Thread Georg Richter

Hello,

is there (should be) a consistent way to pass or return a structure?! 

e.g.:

a) Function mktime splits the structure in lot of parameters
b) fstat returns a non assoc array
c) dio_fstat (which seems to be identical to fstat) returns an assoc array

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] ICAP/MCAL

2002-01-04 Thread Georg Richter

Hello all,

Obviously MCAL is the follower of ICAP. The icap library isn't more 
available, subdomain icap.chek.com is not connected.
ICAP Extension functions are included in MCAL too, MCAL can use the icap 
driver too.

Whats to do?

Kill ICAP?
Documentation Note?

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] PHP 5

2002-01-01 Thread Georg Richter

Although we're planning
 on only move the unimportant extensions out of PHP I still think it should
 be extremely easy to get a list of available extensions (maybe even a part
 of the ./configure process) and to easily download/configure/install them.

Please could you explain unimportant ?!

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]