[PHP-DEV] database select

2003-02-16 Thread Hans Prins
Hello, Im trying to select only one row in a mysql database (in this case a poll with the smallest pollID)... Each row has a field called pollID which is the primary key and is auto incremented when a new row is inserted. I could possible do the following but I think its a bit extensive:

Re: [PHP-DEV] session security

2003-02-11 Thread Hans Prins
Thx guys, I'll play around with it some more and see if I can secure it some more :) Hans Prins Keyser Soze [EMAIL PROTECTED] schreef in bericht 009201c2d1cd$ec7cd4e0$81aed2c8@keysersoze">news:009201c2d1cd$ec7cd4e0$81aed2c8@keysersoze... There's also something I'm using in my session

[PHP-DEV] session security

2003-02-10 Thread Hans Prins
and it gave full access. Can anyone point me to a possible solution for this? Thank you, Hans Prins [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: cleaning/building just one extension

2002-12-12 Thread Hans Zaunere
? Initially, I see that Apache/Apache2-MPM is a big one. = Hans Zaunere New York PHP http://nyphp.org [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Compiling Extensions for Thread-Safety=1 and phpize

2002-12-11 Thread Hans Zaunere
that an extension is truely thread-safe or not, I realize is entirely different - I'm speaking of thread-safety=1 as a PHP check ] Thank you much, = Hans Zaunere New York PHP http://nyphp.org [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http

[PHP-DEV] auto_prepend_file Revisited

2002-10-23 Thread Hans Zaunere
, = Hans Zaunere New York PHP http://nyphp.org [EMAIL PROTECTED] __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http

Re: [PHP-DEV] Idea to extend language: Explicitly setting variable scope inside user defined function (longer)

2002-10-21 Thread Hans Zaunere
of the predefined super-globals, but that just seems wrong. Something like: super $avar; would be very useful for large projects and wouldn't cause a lot of harm otherwise. Hans Marco On Sun, 2002-10-20 at 22:41, Rasmus Lerdorf wrote: How in the world do you know that code will run faster

[PHP-DEV] Binary Safety, Sockets and Raw sockets

2002-09-20 Thread Hans Zaunere
couldn't get very far. Any ideas/tips on this? A clean, but at the same time low-level/raw socket interface I think would be extremely useful and I'd like to help in any way I can. Thanks! Hans __ Do you Yahoo!? New DSL Internet Access from SBC

[PHP-DEV] Quality of this list

2002-06-04 Thread Hans Rakers
development-related questions on this list that go unanswered. I don't want to bitch about too much, but as a lurker and occasional question-asker on this list its just something i noticed lately. With regards, Hans Rakers -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit

[PHP-DEV] Problems with memory limit code and memory leaks in scripts

2002-06-03 Thread Hans Rakers
by adding a AG(allocated_memory) = 0 line to mod_php4.c in function send_parsed_php(), though i'm not sure if this is the right thing to do. For now it fixes the memory exhausts. I am interested in hearing your views on this matter. With regards, Hans Rakers -- Hans Rakers ([EMAIL PROTECTED

Re: [PHP-DEV] Getting a remote IP address

2002-06-01 Thread Hans Spath
At 01.06.2002 21:44 +0200, Vergoz Michael wrote: please to not ask this question on this list. print($REMOTE_ADDR); Bad idea, won't work with register_globals=off. Instead do it this way: echo $_SERVER['REMOTE_ADDR']; or echo $HTTP_SERVER_VARS['REMOTE_ADDR']; regards, Hans Spath -- PHP

[PHP-DEV] Memory usage of a running script. 2 methods, 2 different results

2002-05-26 Thread Hans Rakers
. With kind regards, Hans Rakers Parse BV, the Netherlands -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Need help with the build system

2002-05-23 Thread Hans Rakers
? Thanks in advance, Hans Rakers Parse BV, the Netherlands -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Need help with the build system

2002-05-23 Thread Hans Rakers
Sorry for replying to my own message, but i realized i may have provided too little info about my setup. Im using Slackware 8.0 with kernel 2.4.18 autoconf (GNU Autoconf) 2.50 automake (GNU automake) 1.4-p4 ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18) Thanks, Hans At 15:26 23-5

Re: [PHP-DEV] Need help with the build system

2002-05-23 Thread Hans Rakers
Thats it! Downgraded to autoconf-2.13 and works like a charm now. Finally i can get to coding :) Thanks, Hans At 21:14 23-5-2002 +0200, you wrote: 2.5x version proved to do not work well with the build system. Try 2.13 for a start. - Markus On Thu, May 23, 2002 at 07:39:02PM

[PHP-DEV] unset($_SESSION[...]) vs. register_globals=On

2002-02-27 Thread Hans Spath
report (#15551) which was classified as 'Bogus'. I don't think ignoring that problem is a good solution, so please review that bug report. Thanks. - Hans Spath -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: unset($_SESSION[...]) vs. register_globals=On

2002-02-27 Thread Hans Spath
Yasuo Ohgaki wrote: Hans Spath wrote: When register_globals is enabled, you can't unregister session variables via unset($_SESSION['varname']) How are php coders supposed to write clean code with that new autoglobal variable, when they have to have the same configuration at every server

[PHP-DEV] Curl and PHP_CURL_RETURN wrong behavior

2002-02-08 Thread Hans-Jürgen Petrich
return 1 (RETURN_TRUE) in such situation. I have write a small (and perhaps dirty) hack witch will fix this. Perhaps the author of curl.c can update curl.c in the CVS to avoid the wrong return value Thank u, PHP is great. Hans-Juergen Petrich /* curl.c */ /* {{{ proto bool curl_exec(int ch

Re: [PHP-DEV] Bug #15390: Persistent OCI8 Connections Get Poisoned

2002-02-05 Thread Hans Zaunere
, the whole system is back. Although PHP should handle this better in some manner. :) Thank you, Hans [EMAIL PROTECTED] wrote: We are seeing this problem too. I am thinking of having a standard error page which executes posix_kill ( pos_getpid()) ; On Oracle errors. > From: [EMAIL PROTECTED] > Ope

[PHP-DEV] Poisoned Persistent Oracle Connections (OCI8)

2002-02-04 Thread Hans Zaunere
having to refresh the page to avoid error messages. If any more info or clarification is needed please contact me. Thank you, Hans -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Strange re-include/crash problem with Oracle (OCI8)

2002-01-31 Thread Hans Zaunere
doesn't like seeing all the Warnings, as opposed to: Oracle Database Down. If anymore info or clarification is needed, please don't hesitate to ask. Thank you, Hans -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP-DEV] Bug #15023: Apache thread segfaults in optimizer using php-4.1.1 and Zend Optimizer

2002-01-13 Thread hans
From: [EMAIL PROTECTED] Operating system: Linux-2.2.20 PHP version: 4.1.1 PHP Bug Type: Scripting Engine problem Bug description: Apache thread segfaults in optimizer using php-4.1.1 and Zend Optimizer I'm not sure if this is the place to submit problems related to Zend

Re: [PHP-DEV] Bug #15023 Updated: Apache thread segfaults in optimizer using php-4.1.1 and Zend Optimizer

2002-01-13 Thread Hans Rakers
Gee, thanks for the wonderful input. I at least thought the Zend folks where following this list. As i said, i cant find anything on bug reports at zend.com. Any pointers, or should i just chuck the optimizer and forget about my bugreport? Hans At 00:59 14-1-2002 +, you wrote: ID: 15023

Re: [PHP-DEV] Bug #14381 Updated: xlst_error causes error with valid XSLT processor instance

2001-12-14 Thread Hans Rakers
That still doesnt explain the segfault. Somebody else already pointed out the arguments to xslt_process changed. I changed this in the script according to the manual. But still the xslt_error() function should not segfault. -- Hans Rakers At 17:03 14-12-2001 +, you wrote: ID: 14381

[PHP-DEV] Bug #14381: xlst_error causes error with valid XSLT processor instance

2001-12-07 Thread hans
From: [EMAIL PROTECTED] Operating system: Linux-2.4.14 glibc-2.2.3 PHP version: 4.1.0 PHP Bug Type: Reproducible crash Bug description: xlst_error causes error with valid XSLT processor instance the following code causes Apache processes to segfault:

Re: [PHP-DEV] Bug #14381: xlst_error causes error with valid XSLT processor instance

2001-12-07 Thread Hans Rakers
) and not the XSLT processor handle. Please advise. -- Hans Rakers ([EMAIL PROTECTED])Tel: +31 (0)23 5325689 System engineer / Webmaster / Webdeveloper Fax: +31 (0)23 5324957 Parse - TeKoop http://www.parse.nl Haarlem, the Netherlands

Re: [PHP-DEV] Bug #14381: xlst_error causes error with valid XSLT processor instance

2001-12-07 Thread Hans Rakers
, theMessage=@0x6f660909) at situa.cpp:263 #1 0xa203b30 in ?? () at eval.c:88 Cannot access memory at address 0x30303030 -- Hans Rakers ([EMAIL PROTECTED])Tel: +31 (0)23 5325689 System engineer / Webmaster / Webdeveloper Fax: +31 (0)23 5324957 Parse - TeKoop

Re: [PHP-DEV] Bug #14381: xlst_error causes error with valid XSLT processor instance

2001-12-07 Thread Hans Rakers
extension) -- Hans Rakers ([EMAIL PROTECTED])Tel: +31 (0)23 5325689 System engineer / Webmaster / Webdeveloper Fax: +31 (0)23 5324957 Parse - TeKoop http://www.parse.nl Haarlem, the Netherlands http://www.tekoop.nl -- PHP

Re: [PHP-DEV] 4.1.0 Final RC

2001-11-21 Thread Hans Rakers
-1.8.3 freetype-1.3.1 mysql-3.23.44 Working fine so far on a very busy box. -- Hans Rakers -- 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] 4.1.0 Final RC

2001-11-20 Thread Hans Rakers
\ --with-openssl \ --with-zlib \ --enable-sysvsem \ --enable-sysvshm \ --enable-track-vars \ --enable-memory-limit \ --enable-debug=no All sites seem to work ok. -- Hans Rakers -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP-DEV] Bug #14036: Segfault when using multipart form data

2001-11-12 Thread hans
in __libc_start_main (main=0x81748e8 main, argc=2, ubp_av=0xbb44, init=0x806d9c0 _init, fini=0x81b343c _fini, rtld_fini=0x4000c130 _dl_fini, stack_end=0xbb3c) at ../sysdeps/generic/libc-start.c:129 If you need more info contact me private or on the php-dev list (i am subscribed) HTH, Hans

Re: [PHP-DEV] Re: Bug #14036: Segfault when using multipart form data

2001-11-12 Thread Hans Rakers
As i reported in my bug report, i can reproduce this problem with 4.0.6 and current cvs. Hans Rakers At 15:18 12-11-2001 -0800, you wrote: This code has changed significantly in current CVS. 4.0.6 and 4.1.0RC1 should not have the problem. -Rasmus On Tue, 13 Nov 2001, Yasuo Ohgaki wrote

Re: [PHP-DEV] Re: Bug #14036: Segfault when using multipart form data

2001-11-12 Thread Hans Rakers
Config is included in the bugreport, and i can reproduce the problem with several scripts using multipart forms. Tell me whatever information you will need and i will try to provide it to you. Hans Rakers At 08:19 13-11-2001 +0900, you wrote: [EMAIL PROTECTED] wrote: From

Re: [PHP-DEV] Re: Bug #14036: Segfault when using multipart form data

2001-11-12 Thread Hans Rakers
with debug enabled, and that the scripts causing the segfaults do not always result in a segfault (sometimes, like 1 in 10 times, they do run properly). Let me know if you need any more info. I can provide you with php scripts that cause this crash. Hans Rakers At 15:40 12-11-2001 -0800, you wrote

[PHP-DEV] Bug #13229 - some analysing

2001-09-13 Thread Hans Spath
to send me email. *3* = ChangeLog PHP 4.0.6: Made $HTTP_SESSION_VARS['foo'] and $foo be references to the same value when register_globals is on. (Andrei) Hans Spath [EMAIL PROTECTED] PS: Please excuse my perhaps poor english ;) (I didn't use to write in english.) -- PHP Development Mailing

[PHP-DEV] PHP 4.0 Bug #9127: submitting a boolean to an attribute seems to fail

2001-02-06 Thread hans
not like it. Is this a bug or am I blond? Regards, Hans -- Edit Bug report at: http://bugs.php.net/?id=9127edit=1 -- 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

[PHP-DEV] PHP 4.0 Bug #9127 Updated: submitting a boolean to an attribute seems to fail

2001-02-06 Thread hans
and changing it to false. This will have the same effect, no change. A workaround is to declare the boolean global but I do not like it. Is this a bug or am I blond? Regards, Hans --- Full Bug description available