[PHP-DEV] Re: PHP Startup Error In Apache

2003-03-12 Thread J Smith
ads to the extension library files. If it doesn't, change it. If those files don't exist, remove their "extension=" entries. This sort of question belongs in php.general, not php.dev. J Ray Hunter wrote: > > Has anyone seen these startup errors before? > > These are

[PHP-DEV] Re: Segmentation violation

2003-03-12 Thread J Smith
How about providing a short example script that reproduces the segfault? Posting a backtrace is all well and good, but it's not very useful if nobody can see what initiated it. J Matt wrote: > Hi, i've never posted to this newsgroup b4 so pls don't shoot me down if > this

[PHP-DEV] Re: Fix for bug #22386

2003-03-11 Thread J Smith
Er, wrong patch. Proper one is attached. J I wrote: > > The browscap extension is trying to load stuff into the object_store > before it gets initialized, so this'll fix it. Entries from the > browscap.ini file are now stored in straight hashes rather than objects, > but

[PHP-DEV] Fix for bug #22386

2003-03-10 Thread J Smith
eally need to be merged into PHP_4, as it doesn't have the segfault bug. J browscap.tar.gz Description: GNU Zip compressed data -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] XMLSec support in PHP

2003-03-06 Thread Mark J. Hershenson
of of concept implementation of xmlsec in PHP, I'd love to play with it. If there isn't, has anyone started such a project, or are planning to? Just curious. Thanks! Mark J. Hershenson [EMAIL PROTECTED] http://green-ant.com/ -- PHP Development Mailing List <http:

[PHP-DEV] Re: fun with autoconf on Tru64

2003-03-06 Thread J Smith
I have had similar problems, using autoconf 2.5x seems to work. (I use 2.54, specifically.) J Dave Hill wrote: > Hi all, > I am having fun with [EMAIL PROTECTED]@#$ autoconf. In the past I always used > the configure in the RC tarball without (much) problem. As I am trying >

Re: [PHP-DEV] Re: modules in c++

2003-03-05 Thread J Smith
Actually, try this instead of PHP_ADD_LIBRARY(stdc++) and see if that works... PHP_ADD_LIBRARY(stdc++, 1, BIAC_SHARED_LIBADD) J Michel M. Dos Santos wrote: > > Yes. > > My config.m4: > > > PHP_ARG_ENABLE(biac, for biac support,[ --enable-biacEnable biac >

Re: [PHP-DEV] Re: modules in c++

2003-03-05 Thread J Smith
Looks like you need to link to the standard C++ library. Try putting this in your config.m4 file: PHP_ADD_LIBRARY(stdc++) And run phpize, configure and make again. That should make gcc link with stdc++. J Michel M. Dos Santos wrote: > > > J, > > First, thanks by y

[PHP-DEV] Re: modules in c++

2003-03-05 Thread J Smith
en up libtool file that's generated and edit the line that reads "CC=gcc" to say "CC=g++". I'm not sure if there's a better way to do this. At least, I haven't found one yet. If you find something that works a bit better, let me know and I'll update the art

Re: [PHP-DEV] $GLOBALS broken?

2003-03-04 Thread J Smith
Just noticed register_long_arrays. Turning it on fixes problems with $_SERVER and $_ENV, but $GLOBALS still acts weird. J Shane Caraveo wrote: > It's a patch to ze2 that was done over the weekend, there is a new ini > setting that if you turn it on will fix the problem, just cannot

[PHP-DEV] Re: $GLOBALS broken?

2003-03-04 Thread J Smith
riables_order says "GPCS", but doing a var_dump($_SERVER) raises an E_NOTICE and gives me NULL. J Sebastian Bergmann wrote: > Notice: Undefined variable: GLOBALS in E:\test.php on line 7 > > 1 2 function foo() { > 3 $GLOBALS['foo'] = 'ba

[PHP-DEV] Re: Writing a php extension

2003-03-04 Thread J Smith
www.zend.com/apidoc J Mincu Alexandru wrote: > I want to write a php module an I was wondering where I could find some > docs about this .. > > tks, -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP-DEV] Weak references in PHP

2003-02-28 Thread J Smith
ZE2 == Zend Engine 2, which will be replacing the current Zend Engine in PHP 5. Amoung other things, one of it's main features is a more roboust OOP framework, which includes class destructors. J Konstantin Knizhnik wrote: > Hello George, > > Friday, February 28, 2003, 5:46:18

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

2003-02-28 Thread J Smith
Yep. Yesterday, through the form on the docs page. J Andi Gutmans wrote: > Have you submitted a CVS account request? > > At 09:41 PM 2/27/2003 +, J Smith wrote: >>A few weeks ago, I kind of volunteered to maintain testing scripts for ZE2 >>on the ZE2 mailing

[PHP-DEV] Re: using VC++ to compile PHP extensions

2003-02-27 Thread J Smith
To add to that, I wrote up a short article yesterday that pretty much said the same thing, although it had a more UNIX-y focus. See http://www.tutorbuddy.com/software/phpcpp/phpcpp/ J Dave Viner wrote: > Hi, > I've just completed some local php extensions using VC++. Here are s

[PHP-DEV] CVS Account Request: jay

2003-02-27 Thread J Smith
PECL. I've also offered the use of a Solaris server to the group for debugging Solaris SPARC issues and can do some debugging on it myself if there's a need for it. J, aka darkpanda -- 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/tokenizer tokenizer.c

2003-02-25 Thread J Smith
A lesson I learned yesterday after wondering why the hell the thing wouldn't compile for the past three or four days... php5 works fine, though, like you say. J Magnus N wrote: > On Tue, 25 Feb 2003 14:45:26 -0500 > J Smith <[EMAIL PROTECTED]> wrote: > >> I g

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

2003-02-25 Thread J Smith
ed in zend_ini.h.) Checking out php5 seemed to correct this. J Sebastian Bergmann wrote: > Stig Bakken wrote: >> +#ifdef ZEND_ENGINE_2 > > Why the #ifdef? Isn't HEAD supposed to be PHP 5 / ZE2 only? > -- PHP Development Mailing List <http://www.php.ne

[PHP-DEV] Re: PHP extensions and C++

2003-02-19 Thread J Smith
ven't noticed anything weird happening. J Dave Viner wrote: > Hi, > I'm trying to write a simple PHP extension that will wrap a C++ class. I > have a test C++ program which exercises the class and works properly. I > am trying to make the PHP extension code work, but

Re: [PHP-DEV] Re: Configure-System on Solaris

2003-02-04 Thread J Smith
Jani Taskinen wrote: > On Tue, 4 Feb 2003, J Smith wrote: > > /usr/xpg4/bin/sed > > It should be part of standard install too.. > > --Jani I hate Solaris. There's four seds on my system now: /usr/local/bin/sed, /usr/bin/sed, /usr/ucb/sed and /bin/sed

Re: [PHP-DEV] Re: Configure-System on Solaris

2003-02-04 Thread J Smith
patch, or does it have a different name or something? J -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Configure-System on Solaris

2003-02-04 Thread J Smith
sal libtool line, which makes Sun's sed explode, as it can only handle about 4000 characters. (You'll end up with sed reporting that the "output line [is] too long". I haven't fully investigated what Sun tools will bork a build, but Sun's sed definitely does, and prob

[PHP-DEV] Re: Configure-System on Solaris

2003-02-04 Thread J Smith
GNU grep should work. Just make sure /usr/local/bin comes before /bin in your $PATH. J Sebastian Nohn wrote: > Latest CVS (PHP5-dev) on Solaris: > > Configuring TSRM > checking for stdarg.h... (cached) yes > grep: illegal option -- E > Usage: grep -hblcnsviw pattern file

[PHP-DEV] Re: Can't build xslt/sablot

2003-01-30 Thread J Smith
What's doing the linking? Is it linking to lstdc++? J Sebastian Bergmann wrote: > /usr/local/lib/libsablot.so: undefined reference to `operator > new[](unsigned)' /usr/local/lib/libsablot.so: undefined reference to > `vtable for __cxxabiv1::__si_class_type_info' >

[PHP-DEV] Re: Mandatory File Locking in PHP?

2003-01-29 Thread J Smith
Try the direct I/O extension, specifically dio_fcntl(). Just make sure the filesystem you're using the locks on was mounted with "-o mand", and the locks will be mandatory by default. J Ananth Kesari wrote: > Hi, > > From the PHP manual I find that the flock() functio

[PHP-DEV] Re: [Fwd: 4.3.0 w/ Sablotron version check problem]

2003-01-15 Thread J Smith
-dir=/usr' '--with-zlib-dir=/usr' '--with-freetype-dir=/usr' '--disable-cli' '--with-cryptopp' --with-cryptopp, --enable-stem and --enable-porter are home-grown extensions that shouldn't affect Sablotron. I had no problems with the configure script on

Re: [PHP-DEV] Designing for PHP4 with PHP5 in mind...

2003-01-07 Thread J Smith
constructor and __construct() won't be used at all. J Brian Moon wrote: > From what I understand, all OO code will have to be modified for PHP5. > Constructors for example and no longer named the same as the class name. > That alone means every class must be changed. I don't recall

[PHP-DEV] ZE2 dev snaps

2003-01-06 Thread Mark J. Hershenson
Hi all, I know there are "Win32+ZE2 Package" snapshots on snaps.php.net, but I don't believe I've read why there isn't a ZE2 source code snapshot for everyone else. Checking out the source with CVS may not be the world's most difficult practice, but automating that process likely isn't either. ;)

[PHP-DEV] Re: encryption functions

2002-12-18 Thread J Smith
seeable future. Again, it works on both UNIX and Windows, so it might be what you're looking for. J Michael Bretterklieber wrote: > Hi, > > I'm trying to provide samples for authenticating using MS-CHAP and my > Radius PECL. > > I need DES for generating the data.,

Re: [PHP-DEV] Java Extension Build Method

2002-12-06 Thread Tony J. White
> Under the heading "Build java module with -ljava" you mention that there > were crashing problems because libjava.so was linked agains pthread and > apache wasn't. This is not uncommon problem for other libraries such as > oci8. You can link apache with pthread which will prevent the segfaults.

Re: [PHP-DEV] persistent java virtual machine under PHP

2002-12-06 Thread Tony J. White
> This is contrary to my experiences. But we have discussed this earlier > today. After reviewing the thread, I think the problem you are experiencing is related to the fact that each instance of PHP is running a seperate JVM. It's not that the JVM is being destroyed. Therefore when you have ap

Re: [PHP-DEV] sapi/servlet configuration error

2002-12-05 Thread Tony J. White
On Thu, 5 Dec 2002, Ray Hunter wrote: > This is the line in my Makefile: > > sapi/servlet/java.lo: sapi/servlet/java.c > $(LIBTOOL) --mode=compile $(CC) -Isapi/servlet/ > -I/home/rhunter/src/php4/sapi/servlet/ $(COMMON_FLAGS) $(CFLAGS_CLEAN) > $(EXTRA_CFLAGS) -prefer-pic -c sapi/servlet/jav

Re: [PHP-DEV] persistent java virtual machine under PHP

2002-12-05 Thread Tony J. White
On Thu, 5 Dec 2002, [ISO-8859-2] Maróy Ákos wrote: > > Actually, the JVM is unloaded by php. In the latest CVS the code from > > I see. But if you dlclose()-it, what happens to open resources, like > open file descriptors, network sockets, etc? It seems to be a crude way > of unloading the JVM..

Re: [PHP-DEV] sapi/servlet configuration error

2002-12-05 Thread Tony J. White
On Thu, 5 Dec 2002, Ray Hunter wrote: > make: *** No rule to make target `sapi/servlet/java.c', needed by > `sapi/servlet/java.lo'. Stop. It looks like the sapi/servlet/Makefile.frag is not being added to your Makefile. Can you verify that there is no line in your main Makefile that starts with

[PHP-DEV] Java Extension Build Method

2002-12-05 Thread Tony J. White
The /ext/java module is an odd duck compared to other php extentions in that it uses DL_LOAD() to load libjava instead of being linked and that it is always built as a module (.so) instead of being built static into php. I've spent some time over the past couple weeks investigating why this is do

Re: [PHP-DEV] persistent java virtual machine under PHP

2002-12-05 Thread Tony J. White
On Wed, 4 Dec 2002, [ISO-8859-2] Maróy Ákos wrote: > What happens is that the function jvm_create() gets called regularly > when requesting new pages using the Java extension, from the function > java_call_function_handler(): > >if (!JG(jenv)) jvm_create(TSRMLS_C); Actually, the JVM is unload

Re: [PHP-DEV] Java extension fixes

2002-12-05 Thread Tony J. White
Ray > > On Wed, 2002-12-04 at 01:20, Sebastian Bergmann wrote: > > "Tony J. White" wrote: > > > Can someone please add this to CVS or should I contact Sam Ruby (the > > > orignal author) to do it? > > > > Committed, > > Sebasti

Re: [PHP-DEV] [PATCH] New changes to ext_skel for C++

2002-12-04 Thread J Smith
extension to PHP, they're probably going to know what __cplusplus, extern "C" and all that stuff means, but on the other hand, I've seen (and received) some pretty ridiculous questions on that sort of stuff dealing with PHP extensions directly. J Stig S. Bakken wrote:

Re: [PHP-DEV] [PATCH] New changes to ext_skel for C++

2002-12-02 Thread J Smith
as I haven't had any problems yet with wrapping the whole thing up in extern C's. J Zeev Suraski wrote: > Why do we need an extern c before php.h? The relevant API functions in > php.h should be extern "c"d in my opinion, wrapping php.h up in extern "c" > is

Re: [PHP-DEV] [PATCH] Changes to ext_skel for C++

2002-12-02 Thread J Smith
e in their C code. If my vision of the future is in any way accurate, at least, which it may very well not be. J George Schlossnagle wrote: > J Smith wrote: > >>That's what I was thinking. The new patch updates skeleton.c a bit and >>fixes ext_skel to either add extern &

Re: [PHP-DEV] [PATCH] New changes to ext_skel for C++

2002-12-02 Thread J Smith
d to use one or the other in this one for the sake of consistency. J Zeev Suraski wrote: > Why not just use BEGIN_EXTERN_C() and END_EXTERN_C()? > > Zeev > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] New changes to ext_skel for C++

2002-12-02 Thread J Smith
C-string named "string" being confused with the C++ data type "string". Comments? J Index: ext_skel === RCS file: /repository/php4/ext/ext_skel,v retrieving revision 1.44 diff -u -3 -p -r1.44 ext_skel --- ext_skel

Re: [PHP-DEV] [PATCH] Changes to ext_skel for C++

2002-12-02 Thread J Smith
there in the first place, etc. J Sterling Hughes wrote: >> Is there any reason the ifdef __cplusplus doesn't work? There shouldn't >> be any need for extra processing or config options. >> > > well, i think c++ code might confuse people just starting

Re: [PHP-DEV] [PATCH] Changes to ext_skel for C++

2002-11-29 Thread J Smith
How about adding something like this to skeleton.c: /* __begin_extern_c__ */ /* __end_extern_c__ */ And having the sed script in ext_skel replace them with the proper extern "C" stuff? That way there's no need for skeleton.cpp and just a few changes need to be made in skeleton

Re: [PHP-DEV] [PATCH] Changes to ext_skel for C++

2002-11-29 Thread J Smith
Is this a problem with VS.net or something? I've never done that with any of my C++ extensions and they've all worked fine on VC++ 6. If it is a problem, though, I'll make the changes. J Shane Caraveo wrote: > J Smith wrote: >> Attached is a patch to ext_skel that a

[PHP-DEV] [PATCH] Changes to ext_skel for C++

2002-11-29 Thread J Smith
ton.c and done some sed work in the ext_skel script, but I think it's clearer to have them separated into two files. The ext_skel patch is based on the current HEAD. Comments? J Index: ext_skel === RCS file: /repository/php4/ex

Re: [PHP-DEV] C++ extensions and ext_skel

2002-11-29 Thread J Smith
g "extname", "EXTNAME" and whatnot. The changes to config.m4 and Makefile.in are done in ext_skel. J Sascha Schumann wrote: > On Thu, 28 Nov 2002, J Smith wrote: > >> >> A couple of times a month, I get questions about from people looking to >> use C++ wit

[PHP-DEV] test

2002-11-29 Thread J Smith
test, please ignore J -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread J Smith
roprietary extension, so it's not like PHP itself would suddenly become "polluted" with C++. J John Coggeshall wrote: > > AFAIK, PHP is designed to function on any standard ANSI-compatible C > compiler (as a goal). Unless this has changed, I don't know if opening >

[PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread J Smith
cations to config.m4 and Makefile.in and a small C++ class thrown in for fun. Would this be worth adding to PHP proper? I have patches available for 4.2.3, but if it's worthy, I can whip it up for 4.3 or whatever. It'll save me some email bandwidth if it could be used. J -- PHP Deve

[PHP-DEV] CVS Account Request: tjw

2002-11-25 Thread Tony J. White
Submit fixes for php4/ext/java/ only. Rasmus instructed me to fill out this form. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Java extension fixes

2002-11-25 Thread Tony J. White
the improper > loading/unloading of the JVM. > > > On Monday, November 25, 2002, at 01:00 AM, Tony J. White wrote: > > > > > I'm made a stability fix to the PHP Java extension. A full > > description of the > > changes as well as the updated java.c file (and p

[PHP-DEV] Java extension fixes

2002-11-24 Thread Tony J . White
I'm made a stability fix to the PHP Java extension. A full description of the changes as well as the updated java.c file (and patch) can be found here: http://tjw.org/php_java/ Can someone please add this to CVS or should I contact Sam Ruby (the orignal author) to do it? -Tony -- PHP Develo

[PHP-DEV] libtool & aclocal.m4 problems (4.3)

2002-11-11 Thread Brian J. France
I am tracking down a warning when running phpize: catnip 09:44:27 bfrance> phpize You should update your `aclocal.m4' by running aclocal. Configuring for: PHP Api Version: 20020918 Zend Module Api No: 20020429 Zend Extension Api No: 20021010 phpize is running "libtoolize -f -c" which

[PHP-DEV] PHP crypto extension news

2002-11-04 Thread J Smith
n Crypto++ 5.0 that have been fixed in CVS -- they shouldn't affect cryptopp-php in any way, but there may be bugs in my code that haven't been weeded out yet, as this version hasn't been tested and is a near-total re-write from 0.0.8. Any bugs reports or comments would be appreciat

[PHP-DEV] CVS Account Request: dart

2002-08-20 Thread hussam J alamri
i wanna join the arabic translation team in phpdob_ar am a php programmer and am working in a web designing company in title 'php programmer' -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Serializer / deserializer error information?

2002-08-18 Thread Mark J. Hershenson
reate the objects on each page, but it would be so much easier to serialize the dumb things. :) Mark J. Hershenson [EMAIL PROTECTED] http://www.green-ant.com/ -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] apache virtual hosts, php cgi and safe mode

2002-08-15 Thread Paul J
editing of the source required? Many thanks, Paul J -- web: http://myitcv.org.uk/ -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: ADVANCED PHP (SOCKETS) MULTIPLEXING SERVER

2002-08-15 Thread J Smith
s a decent example. J Gustavo Almeida wrote: > Dear php-dev, > > Hi, I'm here again with another doubt. Now, I know that I have to > use socket_select() before the socket_accept(), but what I can't > understand is how to "store" or handle ma

[PHP-DEV] Re: [PHP] mcrypt

2002-07-31 Thread J Smith
re people who use my extension the easier it is for me to debug...) J Purushotham Komaravolu wrote: > Hi, > Thanks for the prompt answer. But I am still getting the same error. > > / > origina

[PHP-DEV] Mac 8.6 Web Server with PHP

2002-07-29 Thread J Abbott
anyone know of a mac 8.6 compatible web server with PHP capibility? -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] mail() function

2002-07-02 Thread Alvaro J Hernandez A
Hi, I have two server, server A is a web server and the server B is a mail server. I need to send a e-mail from my web server with mail() function using the mail server. the file php.ini have a parameter named "sendmail_path", who say me which is its value? thank you... -- -

[PHP-DEV] PHP and sed blowing up builds

2002-06-10 Thread J Smith
ipermail/autoconf-patches/2002-January/008138.html Would it be overly difficult to perform this check during configure and use GNU sed over any system seds? (I have only a passing familiarity with the PHP build system, having mucked around in config.m4 a bit, but never really doing much with it

[PHP-DEV] Re: Introducing EXCPLICIT

2002-06-06 Thread J Smith
) as long as BC and portability were maintained and it was totally optional. J Ilker Cetinkaya wrote: > thank you for your reply, > > i'll change to c# as soon as i've finished my current projects. > > regards, > ilker > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Introducing EXCPLICIT

2002-06-06 Thread J Smith
I seem to remember strong typing being brought up before, and I also seem to remember it being shot down. The consensus seemed to be if you want a strongly-typed language, use Java. Or C. Or C++. Or something other than PHP that has strong data typing. Have things changed since then? J

RE: [PHP-DEV] Re: Client socket

2002-05-30 Thread J Smith
tly to the request. Or something like that. J Vinod Panicker wrote: > Makes sense. Dunno why it didn't occur to me before - the '3' says it > all. > > I need the actual socket - which when written to will send data to the > client. Is it there in the request_

[PHP-DEV] Re: Client socket

2002-05-29 Thread J Smith
et ahold of the socket/port number itself? Or connect to the actual socket? J Vinod Panicker wrote: > Hi, > > Continuing with the problem that I've been having... > > I made changes to the php_apache.c file and added a new php function of > my own, which is supposed t

[PHP-DEV] Re: OS X Support

2002-05-14 Thread J Smith
ww.tutorbuddy.com/software/ And check out the cryptopp extension. J Mitch Vincent wrote: > What's the current status of OS X support? I understand that 4.3 will be > the first release to "officially" support OS X but how much of the work is > complete in current CVS? >

Re: [PHP-DEV] Extension news: cryptopp

2002-05-03 Thread J Smith
eeks or so; I should have a bit of a clue by then as to how things are going to be with the new app. J [EMAIL PROTECTED] wrote: > Hello, > > I read some of the documentation, and noticed that this API seems to be > very usable for an abstraction to multiple encryption libraries. It

[PHP-DEV] Extension news: cryptopp

2002-05-02 Thread J Smith
docs. To play around with the extension, head to http://www.tutorbuddy.com/software/. (Mirrored at http://209.202.82.229/software/.) J -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: news.php.net shows unterminated string

2002-05-01 Thread J Smith
[root@corduroy php-4.2.1RC1]# lynx -head -dump http://news.php.net HTTP/1.1 200 OK Date: Wed, 01 May 2002 14:37:45 GMT Server: Apache/1.3.20 (Unix) PHP/4.2.0RC2 X-Powered-By: PHP/4.2.0RC2 Connection: close Content-Type: text/html; charset=iso-8859-1 J Derick Rethans wrote: > He

RE: [PHP-DEV] Build problem on Solaris 8

2002-04-30 Thread J Smith
I don't think so. I tried a couple of weeks ago with Solaris 8, and autoconf 2.53 broke the build. 2.13 worked fine; anything greater seems to die. J David Knox wrote: > Thanks, > Will autoconf 2.13 or greater work? I already have 2.53. > > --dk > -- PHP Developmen

Re: [PHP-DEV] sockets

2002-04-28 Thread J Smith
One way to find which socket has died, if any, is to loop through each socket in the three sets (read/write/exceptions) and do a select() on each one to see if you can read with a timeout of 0. (The bad one being the one where select() returns -1, I think.) J Steve Meyers wrote: > Ther

Re: [PHP-DEV] sockets

2002-04-28 Thread J Smith
threads. Handling multiple sockets is definitely do-able in PHP, and it's relatively easy to set up. There should be an example I wrote somewhere in the archives. J Dan Hardiker wrote: > The only feature which would be useful towards this module is threading. > If PHP were able t

Re: [PHP-DEV]

2002-04-26 Thread J Smith
Just read that myself at w3c.org. I hate the format of their recommendations, god. It takes forever for me to find anything specific in their specs. J [EMAIL PROTECTED] wrote: > From: http://www.w3.org/TR/2000/REC-xml-20001006#sec-pi > > [16] PI ::='' C

Re: [PHP-DEV]

2002-04-26 Thread J Smith
I hear that. Not that reading specs and standards isn't fun... J Rasmus Lerdorf wrote: >> I'm pretty sure it is. It parses fine according to Xerces, at any rate. >> At first, I was thinking the greater than comparison would cause >> problems, as elements lik

Re: [PHP-DEV]

2002-04-26 Thread J Smith
Are you positive about that? I would have assumed so, too, but it passes both the Sablotron and Xerces XML processors without so much as a warning. J Rasmus Lerdorf wrote: >> $bar) >> ... >> ?> >> >> Is this valid XML? > > No, this is technically i

Re: [PHP-DEV]

2002-04-26 Thread J Smith
which they call producers. It would be kind of cool to have a PHP procuder, which I'd prefer over the standard Cocoon producer, Java.) J p.s. and OT -- it would be pretty cool if the XSLT extension for PHP was able to process the XML/XSL before it passed it off to the actual XSLT processor, i

Re: [PHP-DEV]

2002-04-26 Thread J Smith
I'm pretty sure it is. It parses fine according to Xerces, at any rate. At first, I was thinking the greater than comparison would cause problems, as elements like seeing the test written as "foo > bar", but when you have the symbol inside of a processing instruction, it&#

Re: [PHP-DEV] sockets

2002-04-26 Thread J Smith
oblems that I've not encountered.) J Markus Fischer wrote: > Hi, > > Simple when enough people have tested it and it reaches the > consensus that it's mature enough for being called stable > (api doesn't change anymore, more testers, you name it). > &

Re: [PHP-DEV] Inline optimization

2002-04-19 Thread J Smith
99% or so. Eventually I just killed the process. With -O2, the same file took 10 seconds to compile. J Aaron Bannert wrote: > On Fri, Apr 19, 2002 at 03:50:16PM +0200, Sebastian Bergmann wrote: >> Yasuo Ohgaki wrote: >> > Any objection for changing -O2 -> -O3 when >> &

Re: [PHP-DEV] Re: php extensions on windows

2002-04-18 Thread J Smith
Get somebody with enough karma to update it I guess. But I'd recommend opening up one of the VC++ projects from the source and checking the settings out, 'cause I might have forgotten something there. J Brent R. Matzelle wrote: > > This information would be a terrific add

[PHP-DEV] Re: php extensions on windows

2002-04-18 Thread J Smith
ck and try to replicate the settings they use in your own project. It takes a while to get used to building extensions with VC++ 'cause that sort of thing is so poorly documented in the Windows world, but once you get it once you should be fine. J Igal Raizman wrote: > Hello, > &g

Re: [PHP-DEV] Please forward to the list, I'm not a member anymore... (fwd)

2002-04-16 Thread J Smith
;m just guessing here. It feels kind of like when OpenBSD removed it's ipf code because it wasn't under an OpenBSD-ish license. J Stefan Esser wrote: > Morning, > >> > It is GPL >> >> Then we can't use it with PHP... > > sorry, but I do not se

Re: [PHP-DEV] C++ Class Wrapping

2002-04-15 Thread J Smith
Of course. Use extern "C" style bindings and such. J Ken Egervari wrote: > Can you use C++ however? I'm very interested in writing/using a standard > w3c binding for DOM XML > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Crypto++ extension alpha release

2002-03-25 Thread J Smith
load.php/cryptopp-php-0.0.1.tar.gz. So far, I've only tested the extension on Linux (2.4.9 kernel using gcc/g++ 2.96 and on Solaris 8 using gcc/g++ 2.95). It should work on Windows, but I haven't tested it yet. (If anybody gets it working on win32, please let me know.) J p.s.

Re: [PHP-DEV] CLI & max_execution_time

2002-03-25 Thread J Smith
ything, sort of a nice-to-have. But if I'm in the minority for wanting this, that's fine, I'll live. J Edin Kadribasic wrote: > > Are you sure you were testing it with CLI? Header hiding (-q) has been in > there since the first check-in back in Jan 6. > > If yo

Re: [PHP-DEV] CLI & max_execution_time

2002-03-25 Thread J Smith
I always have trouble with the two. (For instance, in the apache module, I always have output buffering set to something liek 4K, but on the CLI, I don't want output buffering at all. Little things like that.) My opinion, for all it's worth. J Markus Fischer wrote: > > Actu

Re: [PHP-DEV] Crypto++ extension happenings

2002-03-16 Thread J Smith
g in some general sense, but if this API you're thinking of can be used with it, I'm all for it. Let me know what you're thinking and we'll see what happens. J [EMAIL PROTECTED] wrote: > Hello, > > I'm currently designing a new 'encryption' extension

[PHP-DEV] Crypto++ extension happenings

2002-03-16 Thread J Smith
it's not going to be ready for a while. I just figued I would let people know it's still being worked on. I have no idea when I'll finish the extension, so don't hold your breath if you're interested. Comments are appreciated. J -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Sockets: new socket_select() example

2002-03-14 Thread J Smith
Might be a nice example as a somewhat advanced use of the sockets extension. It's meant to be run via the CLI interface, of course. J Jason Greene wrote: > Due to popular request, here is an example of the new socket_select(): > NOTE: ***This code does not do any error handling***

Re: [PHP-DEV] buildconf for 4.1.2 breaks Solaris 8

2002-03-14 Thread J Smith
current method, which is '$something != "no"') or the PHP version I original wrote the extension did '== "yes"' rather than '!= "no"' on it's own in ext_skel. I forget which version of PHP I originally used, but it was a while ago, so

Re: [PHP-DEV] buildconf for 4.1.2 breaks Solaris 8

2002-03-13 Thread J Smith
=" or something, which was easily fixed by changing "==" to "=" in the configure script. But other than that, everything seems fine now. The remaining "==" problem will probably be fixed in 4.2.x with the new build system. Thanks. J Jon Parise wrote: &

[PHP-DEV] buildconf for 4.1.2 breaks Solaris 8

2002-03-12 Thread J Smith
first Solaris install, so it might be me.) Solutions? Suggestions> J -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Socket Rework Complete

2002-03-08 Thread J Smith
Never try to do something as complicated as attach some source to a mailing list post after two beer and a hefty lunch. Attachment is really here this time. J J Smith wrote: > > Speaking of the FD_* macros and such, I'm trying to visualize how to > re-write some code th

Re: [PHP-DEV] Socket Rework Complete

2002-03-08 Thread J Smith
d what to do without the FD_* stuff. This could make for a good example in the documentation, anyways, if it works as hoped.) Attached is the stripped-down source. J Jason Greene wrote: > > The correct behavior that is consistent with the API follows(that I am > planning): > Set ret

Re: [PHP-DEV] Socket Rework Complete

2002-03-08 Thread J Smith
t() to return true/false. I'm thinking that this functionality is a bit too far removed from the standard select() call, though. (Although without the functions equivalent to the FD_* macros', the extension as a whole is getting pretty far removed from the standard sockets li

[PHP-DEV] Re: Socket Rework Complete

2002-03-08 Thread J Smith
still be passed to select(). The above case would handle this, as usec could still be used. 3. if the user leaves off both sec and usec, pass NULL to select(). That would seem to be a bit more friendly than the current 4.1.2 behaviour, and would account for passing null as sec and a value fo

[PHP-DEV] Re: Socket Rework Complete

2002-03-08 Thread J Smith
s stuff -- I have no idea how to use the arrays yet versus the file descriptors, but I'll report as I go.) J Jason Greene wrote: > For all those who don't follow CVS. The sockets extension modifications > I listed out a few weeks ago are complete, and will be included in the >

Re: [PHP-DEV] New Module

2002-03-05 Thread J Smith
give something back to the community, we try to. (So far, we've only released two small PHP extensions, but there's more forthcoming, including this crypto extension if I ever get it done.) J Brent R. Matzelle wrote: > --- J Smith <[EMAIL PROTECTED]> wrote: >> I have

  1   2   3   >