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:
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
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
? 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
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
,
=
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
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
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
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
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
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
.
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
?
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
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
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
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
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
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
, 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
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
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
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
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
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
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:
) 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
,
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
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
-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]
\
--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
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
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
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
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
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
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
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
37 matches
Mail list logo