Re: [PHP-DEV] Reading PDF

2002-08-26 Thread David Eriksson
> Hi, > > Is it possible to read the contents of PDF files from PHP? PdfLib is only capable of writing PDF files, as far as I know. -\- David Eriksson -/- www.2GooD.nu "I personally refuse to use inferior tools becau

Re: [PHP-DEV] shared extension linking

2002-08-19 Thread David Eriksson
On Mon, 19 Aug 2002, Ron Lange wrote: > Hi David, > David Eriksson wrote: > > Use PHP_ADD_LIBRARY_WITH_PATH or PHP_ADD_LIBRARY in your config.m4 > > > Already done... > My config.m4: > Note: IndiComm, ndr and mmem have to be statica

Re: [PHP-DEV] shared extension linking

2002-08-19 Thread David Eriksson
ned-extension-readme doesn't cover this issue. > Please help... Use PHP_ADD_LIBRARY_WITH_PATH or PHP_ADD_LIBRARY in your config.m4 -\- David Eriksson -/- "I personally refuse to use inferior tools because of ideology." - Linus Torvalds

RE: [PHP-DEV] Re: [PHP] Re: PHP Security Advisory: Vulnerability inPHP versions 4.2.0 and 4.2.1

2002-07-22 Thread David Eriksson
irror, and how does your link look like? > > > it's fixed. Is it? Only text on http://www.php.net/downloads.php when I view it: "Parse error: parse error, unexpected T_SL in /local/Web/sites/phpweb/downloads.php on line 81"

Re: [PHP-DEV] running php script from cron with permissions

2002-07-21 Thread David Eriksson
the one below in the beginning of your cron script, or specify the full path when you use exec() in PHP. PATH="/bin:/usr/bin:/usr/sbin" Regards, -\- David Eriksson -/- "I personally refuse to use inferior tools because of ideology."

Re: [PHP-DEV] Module startup/shutdown in PHP extensions

2002-07-18 Thread David Eriksson
ay of telling in the > module shutdown function if the module really is shutting down or have I > done something completely wrong? I have seen this behaviour too, I guess PHP just works this way, it calls the module startup and shutdown function pair once on initilization. I have never bother

Re: [PHP-DEV] how to debug a php extension...

2002-07-16 Thread David Eriksson
two fds. I don't use php_streams. Any hints? http://bugs.php.net/bugs-generating-backtrace.php -\- David Eriksson -/- "I personally refuse to use inferior tools because of ideology." - Linus Torvalds -- PHP Development Ma

Re: [PHP-DEV] Re: Disable STDOUT

2002-07-08 Thread David Eriksson
in, stdout and stderr are not simply closed but redirected to /dev/null when writing a daemon. See the daemon() function in 4.4BSD. Regards, -\- David Eriksson -/- "I personally refuse to use inferior tools because of ideology." - Linus T

Re: [PHP-DEV] linking librarys into php4 extensions

2002-07-03 Thread David Eriksson
= > > Aborting! > I wonder since the libs libmmem, libIndiComm and libndr(*.a and *.so) > laying in the dirs which are set by -L. Any idea? Omit "lib". For a library called libmmem.so, you should use -lmmem as a lin

Re: [PHP-DEV] Instantiating Objects ?

2002-06-14 Thread David Eriksson
s > > (goo.so) and then call methods on that object? > > > > How efficient is PHP's way of doing it? (if possible) > > Also, can I pass things like the querystring and form data into that > > instantiated object? > > > > Thanks for any response! > &

[PHP-DEV] Latest snapshot of Universe

2002-05-27 Thread David Eriksson
download on the Universe demo server: http://universe.2good.nu Regards, -\- David Eriksson -/- -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Hosting Service Providers and socket functions

2002-05-24 Thread David Eriksson
og and blacklist IP:s on the whole system with a firewall? I'm quite sure this task is more suitable for a firewall than for PHP... :-) It can be done with iptables on Linux so I suppose there are corresponding possibilities on *BSD, BSD/OS, Solaris, etc... Rega

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

2002-04-16 Thread David Eriksson
> > > > It offers a spec, the features are reasonable, the license is: ? > It is GPL Then we can't use it with PHP... -\- David Eriksson -/- "I personally refuse to use inferior tools because of ideology." - Linus Torvalds

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

2002-04-14 Thread David Eriksson
PHP class with a C++ class. Regards, -\- David Eriksson -/- "I personally refuse to use inferior tools because of ideology." - Linus Torvalds -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-04-10 Thread David Eriksson
On 11 Apr 2002, Edwin Estuardo Morales Medina wrote: > learn and build code You do not need a CVS account to do that. > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > -\- David Eriksson -/- "

Re: [PHP-DEV] RFC: README.SUBMMITING_PATCH

2002-03-18 Thread David Eriksson
ld recommend this line in the ~/.cvsrc file: diff -u -b -w -B -b Ignore changes in amount of white space. -B Ignore changes that just insert or delete blank lines. -u Use the unified output format. -w Ignore white space when comparing lines. -\- David Eriksson -/- &q

[PHP-DEV] One Makefile to rule them all

2002-03-11 Thread David Eriksson
Hello Sascha and everyone! No doubt the new build system is faster than the old one. But I miss having one Makefile for each directory. Was that the slow part of the build process? Regards, -\- David Eriksson -/- "I personally refuse to use inferior tools because of ide

Re: [PHP-DEV] New Build System Committed to HEAD

2002-03-11 Thread David Eriksson
ted in /usr/local/satellite-dev/src/pear/PECL/satellite and not where configure is looking... This error does not appear with PHP 4.1.2. -\- David Eriksson -/- "I personally refuse to use inferior tools because of ideology." - Linus Torvalds

Re: [PHP-DEV] PHP audit project

2002-03-11 Thread David Eriksson
y, nor to release something only for OpenBSD. The patches are > there to be shared by everyone. FYI, I'm working on them on my Linux laptop. Are the strlcpy and strlcat functions (used in the patches) available on Linux? -\- David Eriksson -/- "I personally refuse to use inferior tools

[PHP-DEV] Have you seen the "PHP audit project"?

2002-03-10 Thread David Eriksson
Hello everyone, I just read about the "PHP audit project" on NewsForge. More info here: http://phpaudit.42-networks.com/ Their patch looked great to me, although I didn't browse through all of it... :-) -\- David Eriksson -/- "I personally refuse to use inferior tools

[PHP-DEV] New features in Universe

2002-03-06 Thread David Eriksson
throw user exceptions now Information and download on the Universe demo server: http://universe.2good.nu Regards, -\- David Eriksson -/- -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Move Satellite to PECL!

2002-02-02 Thread David Eriksson
everything from /php4/ext/satellite and add a README file with instructions for obtaining it from PECL. Thank you, -\- David Eriksson -/- -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

Re: [PHP-DEV] no debugging symbols found

2002-01-31 Thread David Eriksson
On Wed, 30 Jan 2002, J S wrote: > > > Hi, > > I want to debug a problem I'm getting in Apache with libphp4.so, but when I > run gdb httpd, I get a bunch of messages saying: > > no debugging symbols found > > Does anyone here know what I need to do to fix this? Yes :-) Do something like th

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Herewe try again)

2002-01-31 Thread David Eriksson
On 31 Jan 2002, Stig S. Bakken wrote: > > It should be not be that hard. There are Java bytecode to C converters, > > it should not be hard to make Zend bytecode to C conversion. > > Wishful thinking? :-) > > Unless I'm mistaken, Java doesn't have eval. Any language with eval > needs a runtime

[PHP-DEV] Bug-fix release of Universe

2002-01-27 Thread David Eriksson
(Universe is a PHP extension that allows PHP to act as a CORBA client or server.) Hello everyone! I'd like to announce that a new snapshot of Universe is available. More info on this page: http://universe.2good.nu Regards, -\- David Eriksson -/- -- PHP Development Mailing List

[PHP-DEV] Universe in 2002

2002-01-11 Thread David Eriksson
switching to Universe now. More info on this page: http://universe.2good.nu Regards, -\- David Eriksson -/- -- 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 admini

Re: [PHP-DEV] Moving extensions to PECL

2002-01-01 Thread David Eriksson
At 13:58 2001-12-31 -0500, Joao Prado Maia wrote: >I would think the following extensions should also go to PECL: >. >. >. >satellite Sure, Satellite could probably be moved there... -\- David Eriksson -/- -- PHP Development Mailing List <http://www.php.net/> To unsubs

Re: [PHP-DEV] Re: HOW2 on making C++ extensions in 4.1.0 (and 4.0.6?)

2001-12-04 Thread David Eriksson
At 10:43 2001-12-04 -0500, l0t3k wrote: >Lars, > check out ext/satellite, and also the author's site. he has an >upcoming framework for producing PHP extensions in C++ I'm the author mentioned above :-) Satellite is written in C, but Universe, an upcoming replacement for Satellite, is writt

Re: [PHP-DEV] how to ?

2001-10-04 Thread David Eriksson
version 1.4 (ok) > *** Error code 1 > > Stop in /usr/php4. > *** Error code 1 > > Stop in /usr/php4. Do you have the Zend and TSRM sub-directories in /usr/php4? -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessar

Re: [PHP-DEV] pass object variable from page to page

2001-10-03 Thread David Eriksson
$myvar); > > // use the object, "who" is not a session var > echo "Session Var : " .$myvar->who. ""; > > //echo "Session Var : " .$HTTP_SESSION_VARS['myvar']['who'] . ""; > //echo "Session Var : " .$HTTP_SESSION_VARS[&#

Re: [PHP-DEV] CVS Account Request

2001-09-26 Thread David Eriksson
Satellite, I'd like some control over the modifications to this extension, so if you want to contribute to Satellite, you don't need a CVS accout, just send me patches and I'll merge them in... Regards, -\- David Eriksson -/- "An expert in a particular computer langu

Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions

2001-09-26 Thread David Eriksson
On Wed, 26 Sep 2001, Andi Gutmans wrote: > I think the key still lies in creating a repository for C extensions where > each extension can have its own release cycle. +1 one for this... :-) -\- David Eriksson -/- "An expert in a particular computer language is really an expert

Re: [PHP-DEV] RC3

2001-09-18 Thread David Eriksson
On Tue, 18 Sep 2001, Sascha Schumann wrote: > No new features please. RCs are purely intended for cutting > down the number of bugs. NP. I just realized that it would be nice to have Universe included in PHP 4.0.7... but I know it's a little late now... :-/ -\- Dav

Re: [PHP-DEV] RC3

2001-09-18 Thread David Eriksson
On Tue, 18 Sep 2001, Zeev Suraski wrote: > Does anybody still have anything pending for RC3? Do you want Universe included in RC3? http://universe.2good.nu/ Regards, David -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: [PHP-DEV] Unable to find stream pointer

2001-09-13 Thread David Eriksson
On Wed, 12 Sep 2001, Andreas Gietl wrote: > Hi PHP-Developers, > > i am sending this mail to php-dev because nobody seems to know an answer in > php-general and i did not find anything in the archives. Maybe it is a bug in > the imap-routine. > > I am having problems with php and imap now for sev

Re: [PHP-DEV] How do I inserting the content of a TEXT file into aPHP document?

2001-09-12 Thread David Eriksson
Please send support questions to [EMAIL PROTECTED] There is an include statement in PHP. -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnson On W

Re: [PHP-DEV] RE: Bug #12276 Updated: error orbit_object

2001-09-03 Thread David Eriksson
ble from another port (80, for example) > ??? thanks Sorry for the delayed reply. I can't run the demo server on port 80, because my primary server runs there... What about asking your sysadmin to unblock port 1081? :-) I can send you the latest snapshot by e-mail if you wish? Regards, -\-

[PHP-DEV] Fourth snapshot of Universe

2001-08-23 Thread David Eriksson
() and universe_is_valid() Information, download and demo on: http://universe.2good.nu Regards, -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnso

Re: [PHP-DEV] EXT_SKEL for Win32

2001-08-23 Thread David Eriksson
ct solution but it seems like I got it right: http://universe.2good.nu/ If you contribute with autmatic generation of a visual studio project file in ext_skel, that would be great! Regards, -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-aro

[PHP-DEV] Third snapshot of Universe

2001-08-13 Thread David Eriksson
ctory. Information, download, demo and Windows binaries at:   http://universe.2good.nu/ Regards, -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Richard B. Johnson --

Re: [PHP-DEV] Satellite (Was: Re: [PHP-DEV] PHP 4.0.7)

2001-08-09 Thread David Eriksson
It's a redirect to a different port: http://satellite.2good.nu:1082 Or maybe it just doesn't work... -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform useful work." - Ri

[PHP-DEV] Satellite (Was: Re: [PHP-DEV] PHP 4.0.7)

2001-08-09 Thread David Eriksson
> A good thing might be to have one central config.m4 which holds all > the old configure options, and warns people if they use them? Good idea! :-) -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this lan

Re: [PHP-DEV] PHP 4.0.7

2001-08-09 Thread David Eriksson
> enough time to make any final changes they want to put into 4.0.7. Would you like Universe to be included in the CVS before the branch? (If someone did not notice, Universe is my new CORBA extension that will replace Satellite.) http://universe.2good.nu/ Regards, -\- David Eriksson -/- &q

[PHP-DEV] First snapshot of the Universe PHP extension (PHP-MICO binding)

2001-08-06 Thread David Eriksson
code! Information, download and demo at: http://universe.2good.nu/ Universe not ready for production environment yet... it leaks memory! :-( If the PHP Group would like me to submit it to the PHP CVS, I will! :-) Regards, -\- David Eriksson -/- "An expert in a particular computer language

Re: [PHP-DEV] PHP Extensions: C or C++?

2001-08-05 Thread David Eriksson
Quoting Jani Taskinen <[EMAIL PROTECTED]>: > On Mon, 6 Aug 2001, David Eriksson wrote: > > >named MICO to connect PHP to CORBA objects. (Universe is an improved > >version of my old PHP extension called Satellite.) > > > >I plan to release Universe

Re: [PHP-DEV] PHP Extensions: C or C++?

2001-08-05 Thread David Eriksson
hat uses the C++ CORBA ORB named MICO to connect PHP to CORBA objects. (Universe is an improved version of my old PHP extension called Satellite.) I plan to release Universe this week, so keep an eye on php-dev... Regards, David Eriksson -- PHP Development Mailing List <http://www.ph

Re: [PHP-DEV] Help wanted: Operator -> and a class in a PHP extension

2001-07-20 Thread David Eriksson
Quoting David Eriksson <[EMAIL PROTECTED]>: > > This time, the last echo line will get the value of $s1->a and not > > $s2->a. > > > > handle_property_get is only called on the $s1 instance and not on > the > > $s2 > > instance of the obje

Re: [PHP-DEV] Help wanted: Operator -> and a class in a PHP extension

2001-07-19 Thread David Eriksson
Quoting David Eriksson <[EMAIL PROTECTED]>: > First, look att this piece of pure PHP code: > > > > > class S > { > var $a; > var $x; > } > > $s1 = new S(); > $s1->a = 42; > > $s2 = new S(); > > $s

[PHP-DEV] Help wanted: Operator -> and a class in a PHP extension

2001-07-18 Thread David Eriksson
is only called on the $s1 instance and not on the $s2 instance of the object. I will write a PHP extension that just shows this "feature". Regards, -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this lan

Re: [PHP-DEV] Newbie writing a PHP extension

2001-07-15 Thread David Eriksson
s though. All > I'm doing is calling id3lib and doing a few basic conversions. One > things that worries me is the resources. Does the Zend engine do its > own locking when you add things to resources? Thinking of it, you probably don't have to worry about thread safety unle

Re: [PHP-DEV] Re: zend api object in object

2001-07-15 Thread David Eriksson
On Fri, 13 Jul 2001, Richard Samar wrote: > I finally figured out how to do this. > Thanks a lot to zeev@efnet and hartmu@ircnet. > > -Richard Hello, What about posting the solution to the list too? :-) Regards, -\- David Eriksson -/- "An expert in a particular computer l

Re: [PHP-DEV] CORBA/PHP

2001-03-21 Thread David Eriksson
On Wed, 21 Mar 2001, Nick Loman wrote: > > Hi > > I've got a fairly urgent requirement to get Satellite working properly on > my PHP 4.0.4pl1 system and can't get in touch with David Eriksson. Has > anyone had luck with the setup, specifically accessing objects th

[PHP-DEV] Re: [patch]: satellite interface inheritance fix

2001-02-18 Thread David Eriksson
patch for the latter error as soon as possible, but I'm not sure what causes the first one... maybe a race condition... Regards, -\- David Eriksson -/- "An expert in a particular computer language is really an expert in the work-arounds necessary to use this language to perform use

[PHP-DEV] Satellite, CORBA, MICO, C++

2001-02-04 Thread David Eriksson
anyone else ever be interested in such a framework or should I just keep it as part of my MICO extension? What should I give priority to? Patch Satellite or work on a replacement extension using MICO? :-) Regards, -\- David Eriksson -/- "An expert in a particular computer language is rea

Re: [PHP-DEV] Passing of sequences of structures from CORBA to PHP

2001-01-29 Thread David Eriksson
(The patch is in > the attached file) I'd appreciate someone reviewing my patch and > including it onto PHP source tree. The patch looks good and I will add it to the PHP CVS later today. Thank you very much! Regards, -\- David Eriksson -/- "An expert in a particular computer l

Re: [PHP-DEV] EXTENSIONS file refresh..

2001-01-21 Thread David Eriksson
EXPERIMENTAL is in the >extension's dir and adds the text before/after the option in >the help display..? And maybe even a note after configure that >there are extensions configured in which are considered experimental >thus those might not work as expected. Good idea! Regards, -\-