From: [EMAIL PROTECTED]
Operating system: Windows 98
PHP version: 4.0.4pl1
PHP Bug Type: filePro related
Bug description: Serialized data gets corrupted in DBM
I created a set of programs for maintaining userid and password information using the
DBM functions. (dbmopen, dbm
From: [EMAIL PROTECTED]
Operating system: REDHAT 7.00
PHP version: 4.0.5
PHP Bug Type: URL related
Bug description: extra ') in URL when add session id to url
When browser turnoff cookie support, the PHP will add session id at end of all local
URL links. I am seeing
extra '
Try to configure php4.1.0 with apache2 in RH Linux7.2
./configure --with-mysql=/usr/local/mysql --with-apache=../httpd-2_0_28
--enable-track-vars --enable-calendar --enable-ftp --enable-sockets
--enable-versioning
I got "Cann't find httpd.h". Also, I check configure of php4.1.0 and
find the pr
case zend 2.0
does support multiple inheritance and so you may know how we would use it.
Thanks
Sam
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
swig wraps C++ objects as zend overloaded objects, the property getters and
setters fall back to storing things in the
Z_OBJPROP_P(property_reference->object) hash but I'm not doing it properly
and I can't work out what I'm doing wrong.
The propget functions are generated like this:
static pval
> -Original Message-
> From: Zeev Suraski [mailto:[EMAIL PROTECTED]]
> Sent: 23 August 2002 18:59
> To: Sam Liddicott
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP-DEV] Re: Object Overloading
>
>
> At 17:09 23/08/2002, Sam Liddicott wrote:
> >Or am I mi
ping, it means you can have multiple test2()'s [lest
call it "sort" - common to use different sort routines in different
circumstances]
a) stops namespace polution
b) keeps access private
while
c) retaining modularisation.
Sam
>
>
> Christopher Kings-Lynne writes:
>
with gawk - any reason why I should not do
the same?
Sam
--
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]
I notice that usleep and sleep both clash on solaris with
Max-execution-time.
1) I notice various modules using sleep:
db, hyperwave, mysql, oci8, satellite
which seems to break max execution time.
2) Could we not use:
#include
#define sleep (n) \
{ struct timeval tv; \
tv.tv_sec=n; \
t
> -Original Message-
> From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 27, 2001 08:03
> To: Sam Liddicott; [EMAIL PROTECTED]
> Subject: Re: [PHP-DEV] SLEEP and MAXEXECUTIONTIME and NAUGHTY modules
>
>
> At 12:11 PM 2/26/2001 +, S
e PHP License.
The Zend Open Source license
http://www.php.net/license/ZendGrant/ZendGrant3.png
and http://www.php.net/license/ZendGrant/ZendGrant4.png (see 5a) you MUST
provide the source to software which links with it. It will take lawyers to
decide if "compiled php" which requires the runtime to
> -Original Message-
> From: Hartmut Holzgraefe [mailto:[EMAIL PROTECTED]]
> Sent: 31 January 2002 10:15
> To: Sam Liddicott
> Cc: Stig S. Bakken; Manuel Lemos; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: Re: [PHP
> -Original Message-
> From: Hartmut Holzgraefe [mailto:[EMAIL PROTECTED]]
> Sent: 01 February 2002 11:20
> To: Sam Liddicott
> Cc: Stig S. Bakken; Manuel Lemos; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: Re: [PHP
es to the attention
of those concerned and then leave them to address it at their leisure.
Thanks guys.
Sam
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
Jani,
You are right. It is an error in my own page. Sorry for it.
Sam
-Original Message-
From: Bug Database [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 13, 2001 10:55 PM
To: [EMAIL PROTECTED]
Subject: Bug #11477 Updated: extra ') in URL when add session id to url
ID:
Hi,
I am experienced PHP/MYSQL/Perl/JAVA programmer,
with many applications developed. If you have any
projects need help, we can work together. If you are
interested, pls send me e-mail for more details.
Besides, I am in Toronto, would like to make some
friends to exchange programming skill.
Th
important when running
as an apache module could be disabled in cgi mode.
Sam
--
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]
I should add that without the kill -5 it takes longer for the script to
finally exit than it took to execute!
Sam
> -Original Message-
> From: Sam Liddicott [mailto:[EMAIL PROTECTED]]
> Sent: 23 November 2001 10:35
> To: [EMAIL PROTECTED]
> Subject: [PHP-DEV] CGI quick cl
solve THIS problem I added ap_child_terminate support to php so you could
request apache to terminate after the page, though this seems to have been
dropped in later releases.
The patch was accepted and did appear in at least one release, I don't know
why it went.
But our problem is not as an a
> -Original Message-
> From: Markus Fischer [mailto:[EMAIL PROTECTED]]
> Sent: 23 November 2001 11:16
> To: Sam Liddicott
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP-DEV] CGI quick cleanup
>
>
> On Fri, Nov 23, 2001 at 11:01:03AM -, Sa
Here's a sample script that does most of the sorts of stuff I was doing
apart from database work.
Note how long it takes to exit after finishing.
#! /usr/bin/php -q
0) $this->ref=&new thingy($c-1);
}
}
$stash=array();
$max=50;
$start=time();
for($i=0;$i<$max;$i++) {
$r=rand(0,300);
> -Original Message-
> From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
> Sent: 24 November 2001 01:21
> To: Sam Liddicott; Sam Liddicott; [EMAIL PROTECTED]
> Subject: RE: [PHP-DEV] CGI quick cleanup
>
>
> The problem you are experiencing is due to the
> -Original Message-
> From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
> Sent: 24 November 2001 01:21
> To: Sam Liddicott; Sam Liddicott; [EMAIL PROTECTED]
> Subject: RE: [PHP-DEV] CGI quick cleanup
>
>
> The problem you are experiencing is due to the
when run
> as standalone?
I think it should; turning off fast-cache was just a quick fix which I
haven't tried in case it slows down access to all those array items; not
being sure what fast cache is actually for.
Sam
--
PHP Development Mailing List <http://www.php.net/>
Hi all,
Because of finicky things with PHP on a Qube (the Qube includes two extra
modules of it's own, and source it hard to come by ;)) I was wanting to put
CURL support into PHP 4.0.1. How big a job is it to copy the functions from
PHP 4.0.2, and how would I go about it?
Thanks
ausalito/ui/web/info.php on line 5
Is there any way of linking to an older API, maybe a wrapper library?
Alternately, would it be a big job to put CURL support into v4.0.1, based on
the 4.0.2 source?
Thanks,
Sam
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visi
same number of
arguments using get_args() and call_user_func_array, but can't because
call_user_func_array can't call a class method.
Is there a good reason why call_user_func_array doesn support class methods?
Sam
--
PHP Development Mailing List <http://www.php.net/>
To uns
What happened with this in the end.
I have a case where call_user_function needs to call a class function
without me having to instantiate a dummy object first.
Sam
> -Original Message-
> From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
> Sent: 26 February 2002 17:13
> To: bra
If I'm writing a C++ extension module and I want return_value to be the same
as this_ptr do I need to increase the ref count of the zval this_ptr?
Or is it safe just to do as the last line:
return_Value=this_ptr;
or
*return_value=*this_ptr;
or what
??
Sam
--
PHP Development Ma
generated code would be appreciated.
regards
Sam Liddicott
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
should I use?
Sam
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: 23 April 2002 11:30
> To: Sam Liddicott
> Cc: PHP Developers Mailing List
> Subject: Re: [PHP-DEV] MINIT or RINIT
>
>
> Well, where are you storing them? Make sure they are n
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: 23 April 2002 11:30
> To: Sam Liddicott
> Cc: PHP Developers Mailing List
> Subject: Re: [PHP-DEV] MINIT or RINIT
>
>
> Well, where are you storing them? Make sure they are n
LASS instead of
ZEND_USER_CLASS? Perhaps it will be safer to register as ZEND_USER_CLASS in
RINIT instead of ZEND_INTERNAL_CLASS in MINIT?
Sam
> -Original Message-
> From: Sam Liddicott
> Sent: 23 April 2002 15:50
> To: Rasmus Lerdorf; Sam Liddicott
> Cc: PHP Developers Mailin
OK, I just noticed class_entry->builtin_functions which I can probably use.
Sam
> -Original Message-
> From: Sam Liddicott
> Sent: 23 April 2002 16:19
> To: Sam Liddicott; 'Rasmus Lerdorf'
> Cc: 'PHP Developers Mailing List'
> Subject: RE: [PHP-
y for me.
Sam
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Markus Fischer [mailto:[EMAIL PROTECTED]]
> Sent: 24 April 2002 11:24
> To: Sam Liddicott
> Cc: 'Rasmus Lerdorf'; 'PHP Developers Mailing List'
> Subject: Re: [PHP-DEV] Persistent overloaded class
> registration p
> -Original Message-
> From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
> Sent: 25 April 2002 23:14
> To: Sam Liddicott; Sam Liddicott; 'Rasmus Lerdorf'
> Cc: 'PHP Developers Mailing List'
> Subject: Re: [PHP-DEV] Persistent overloaded class
> reg
bjects are
destroyed it would be able to free these structures when the object dies and
thus avoid long term memory leaks.
Are PHP developers willing to provide a mechanism where more than one module
can request notification when objects generally, or specific objects are
destroyed?
Sam
--
PHP D
Sorry; wrong list, I get boths lists in the same mailbox and I just replied
to a message already there.
> -Original Message-
> From: Sam Liddicott
> Sent: 26 April 2002 12:01
> To: [EMAIL PROTECTED]
> Subject: phpize writes config.m4
>
>
> I'm making
for example).
Yep.
> What possible harm comes from improving the internal
> consistency of the
> language? Why is a two-line patch that would completely remove an
> inconsistency so bitterly fought against?
To emphasise; people here are adopting bad-old short tags in order to keep
readabi
to find which C++ object the php object was wrapping.
Currently we use _cPtr element of the wrapped object but it is open to
freakery by user scripts.
Thanks
SAm
_
Samuel Liddicott
Support Consultant
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Direct Dial: +44 (0)113 367 4523
Fa
Is there a great reason why rules_common.mk can't be modified so the suffix
rules work on .cxx as well as .cpp ?
Sam
_
Samuel Liddicott
Support Consultant
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Tel: +44 (0)113 367 4523
Fax: +44 (0)113 367 4680
Switchboard: +44 (0)1
r the patch was submitted.
I avoid blame for this although my patch was deficient because I don't have
a windows build environment.
I think just just an unforunate thing, once more developers value windows it
will solve itself.
Anyway, this is my view of the problem, not a solution.
Sam
> -Original Message-
> From: Cynic [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 10, 2001 05:40
> To: Sam Liddicott; Zeev Suraski
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP-DEV] 4.0.4pl1 RC2 rolled
>
> Although, actually, I
> gues
k for some skilled hacker to write a script to
generate skeletons for such proxy libraries.
Sam
--
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]
is one of them.
I think it will make him happy. I knows that people who use readline & such
will have the obligation to abide by the GPL in how they distribute.
SAm
--
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]
Could Solaris users please make me the output of:
grep HAVE_FLOCK main/php_config.h
after running their ./configure please.
For some reason our system always does:
#define HAVE_FLOCK 1
when we need
#undef HAVE_FLOCK
in order to compile and I'm trying to get to the bottom of it.
thanks
, but that doesn't mean
every user and zero-padded string means octal.
I hope the behaviour is not changed; or we may get bad mortage calculators
again.
Sam
> -Original Message-
> From: Sergio Bruder [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 16, 2001 02:01
> To:
does)
Any opinions?
Sam
--
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]
> -Original Message-
> From: Thomas Watson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 18, 2001 12:35
> To: [EMAIL PROTECTED]
> Subject: [PHP-DEV] More OOP
>
> 1: If you are overriding an existing method in a class, it is then not
> possible to call the original method. Its a v
> -Original Message-
> From: Cynic [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 18, 2001 01:41
> To: Sam Liddicott; Thomas Watson; [EMAIL PROTECTED]
> Subject: RE: [PHP-DEV] More OOP
>
>
> At 14:27 18.1. 2001, Sam Liddi
Just done a cvs checkout a few seconds ago, and
./buildconf
fails with:
[root@rhodes php4]# ./buildconf
make[1]: *** [Zend/Makefile.am] Error 1
make: *** [all] Error 2
This:
make -s -f build/build.mk AMFLAGS=
is as far as my "make" skills allow me to trace the problem.
Sa
You might need to run ldconfig
Sam
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 18, 2001 11:16
> To: [EMAIL PROTECTED]
> Subject: [PHP-DEV] PHP 4.0 Bug #8778: Cannot load libphp4.so
>
>
> From:
Any idea why? I checked out Zend and TSRM this time...
Sam
# make install
for prog in phpextdist; do \
/usr/share/src/php/build/shtool install -c -m 755
/usr/share/src/php/pear/scripts/$prog /usr/local/bin/$prog; \
done
cp: cannot access /usr/share/src/php/pear/scripts/phpextdist
L_BYTE_ORDER=12 -c
muscatapi.cpp && touch muscatapi.lo
/bin/sh: I.: command not found
make[4]: [muscatapi.lo] Error 127 (ignored)
Whats the official rules on Makefile.in to have .cpp files build, AND where
SHOULD I have looked to find this.
Thanks
Sam
--
PHP Development Mailing L
> -Original Message-
> From: Sascha Schumann [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 19, 2001 05:10
> To: Sam Liddicott
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-DEV] c++ files as module
>
>
>
> > /bin/sh: I.: command not found
>
> -Original Message-
> From: Sascha Schumann [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 22, 2001 03:13
> To: Sam Liddicott
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP-DEV] c++ files as module
>
>
> > Is:
> > AC_ADD_LIBRARY(stdc++)
> &g
ms.
So for now, I don't seem to explicilty mention stdc++ at all and it all
links fine
I'll get back if I discover something else.
THanks
Sam
> -Original Message-
> From: Sascha Schumann [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 22, 2001 03:52
> To:
Gibber! I commented out a line to avoid this error:
/tmp/muscat-php.1.1/1.1.C010/10/php-4.0.4/ext/muscat/muscatapi.cpp:107:
undefined reference to `__rethrow'
which is why it compiled without stdg++ agghhh.
Anyway; yes your 3rd example solves it nicely so I'll stick to
tapi = new MuscatAPIlocal(muscatHome,memSize);
and for the purposes of this test was the last line of the function.
Has anyone come accross this with c++ module before?
Thanks
Sam
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I avoid the __rethrow error by adding:
AC_ADD_LIBRARY_WITH_PATH(gcc,/usr/lib/gcc-lib/i386-redhat-linux/2.96)
to my config.m4 so that libgcc.a which contains __rethrow gets linked in.
Of course I should only add this line for the relavent platforms and I don't
know what they will be.
Should I
A Its all my fault.
I linked /usr/bin/kgcc to /bin/gcc when building a kernel, and wouldn't you
know libgcc.a for THAT gcc doesn't have __rethrow in it!
Back to normal now!
AGG
SAm
This first section includes "-lgcc" to link libphp4.la with libgcc.a
/bin/sh
ior?
Yes.
1) Its not carriage returns but (and others) which start new lines for
html
2) If you want a carriage return (or linefeed as is usual) do
print "Blah\n";
to start a new line in html and text,
print "blah\n";
Sam
--
PHP Development Mailing List <http://www.p
Why are le_* garbage destructor handles declared static?
As far as I can tell this means other c files in the same module can't
"extern" it but as it is static in file scope it has none of the other
benefits of being static?
Is it to do with threading? What?
Sam
--
PHP Deve
Why are le_* garbage destructor handles declared static?
As far as I can tell this means other c files in the same module can't
"extern" it but as it is static in file scope it has none of the other
benefits of being static?
Is it to do with threading? What?
Sam
--
PHP Deve
strict condition, even at end-of-php-page-mass-destruction time.
It seems like there is no destroy order at end-of-page time?
Whats the best way to enforce it?
I think I am going to have to wrap all the C++ objects in more C++ to
implement reference counting- aggh. Surely there is another way?
Sam
> -Original Message-
> From: Sam Liddicott [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 29, 2001 05:22
> To: [EMAIL PROTECTED]
> Subject: [PHP-DEV] Destruct order/What is reference counted?
>
>
> Are resources refence counted, or variables?
>
> I
on what your php locale is (as opposed to your web page
characterset).
Sam
--
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]
69 matches
Mail list logo