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 a
appended to
the url 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
eed to consider, and
what variables would I need to accomodate? 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
as thread-safe, would be
appreciated. [ The fact 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 Ma
implement
I'd imagine, would be to allow auto_prepend_file to take multiple files
(deliminated by a colon, for instance), with PHP including each in
listed sequence. While not as elegant as the previous solution, this
should be doable, no?
Any feedback appreciated,
=
Hans Zaunere
N
a
"super-global". Sure, I can stick it in one 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
e in_cksum()
function and just 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
so. It's not just my
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 <ht
lem temporarily 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 R
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'
it.
Thanks in advance.
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
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
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
l. Can anyone tell me
whats going wrong here?
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
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
x27;ve written a bug 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
t php
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(i
, 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:
[EM
, as customers don't
like 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
-user 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 additi
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:
>
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
Opt
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: 14
regards
>Wagner
I'm using --enable-xslt --with-xslt-sablot (the new 4.1.0 ext/xslt extension)
--
Hans Rakers ([EMAIL PROTECTED])Tel: +31 (0)23 5325689
System engineer / Webmaster / Webdeveloper Fax: +31 (0)23 5324957
Parse - TeKoop
3 in Situation::generateMessage (this=0x6f660909, type=1932358766,
code=543521385, arg1=@0x7039203a, arg2=@0xa203b74, theMessage=@0x6f660909)
at situa.cpp:263
263 if (messenger && !(flags & SAB_NO_ERROR_REPORTING))
Current language: auto; currently c++
(gdb) bt
#0 0x40081963 in Sit
gt;
>-Rasmus
AFAIK (and according to the manual) the first argument to xslt_process()
should be a string containing the XSL data ($xslData) and not the XSLT
processor handle. Please advise.
--
Hans Rakers ([EMAIL PROTECTED])Tel: +31 (0)23 5325689
System engineer / Webma
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:
$xsl_handle
-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]
-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 PHP 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,
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:
>
&g
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
t eval.c:88
#15 0x4032c2eb in __libc_start_main (main=0x81748e8 , 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 priva
[EMAIL PROTECTED] wrote:
> > Hi f0lks,
> >
> > [part of my first mail (see url at the end of this mail) ]
>
>[snip]
>
>I don't think this is a bug, it looks like a misunderstanding of the API.
>(Perhaps it is my misunderstanding ;-)
I'll kill you !!! (j/k)
What do you think, when I tell you I've
this step) by 1. Now, at the end of the script PHP tries again
to save $GLOBALS['foo'] to the session what fails because the creation of
the reference $GLOBALS['foo'] <-> $HTTP_SESSION_VARS['foo'] failed.
(continue reading at *2* ;-)
To fix this beha
a default
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 descripti
global but I do not like it. Is this a bug or
am I blond?
Regards,
Hans
--
Edit Bug report at: http://bugs.php.net/?id=9127&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
38 matches
Mail list logo