[PHP] Re: file seems b0rken

2002-04-09 Thread Thomas Wentzel
Arhh man, that was embarrasing... Thanks! I guess I didn't get enough coffee this morning :/ T. Cc Zona wrote: > > In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Thomas Wentzel) wrote: > > > $test=@file("some_non_existing_file"); > > > >

[PHP] file seems b0rken

2002-04-09 Thread Thomas Wentzel
Hi! $test=@file("some_non_existing_file"); Can somebody explain why count($test) is 1. When $test doesn't hold any data (which ofcourse is correct). Regards Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Howto return multidimensional arrays from a PHP module

2001-02-05 Thread Thomas Wentzel
Thomas Wentzel wrote: > > Hi Søren, > > Thank you very much for your answer, but I'm afraid that it isn't that > usefull to me... I don't have the luxury of using PHP as my PHP module > is written in C!! > > T. > > Soeren Staun-Pedersen wrote: >

[PHP] Howto return multidimensional arrays from a PHP module

2001-02-05 Thread Thomas Wentzel
Hi all, I've been using array_init and add_assoc_xxx to return an array from within my PHP module... But how would I go about returning the following stucture Array (Array (Name, Type, Size)) tia T. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP] PHP 4.0.3 on Debian?

2001-01-26 Thread Thomas Wentzel
Hi again, Okay! I am now able to compile (and use) Lerdorfs stocks example on my Laptop which runs RedHat... But I still can't get it to work on my Debian (work machine). I use the following configure string on both machines - only differences is the paths to pgsql and apxs configure --enable-

[PHP] undefined symbol...

2001-01-25 Thread Thomas Wentzel
Hi, I've had alot of difficulties in compiling a module in PHP. Finally I'm almost there (I think). I've followed Lerdorf's libstock example. But whenever I try to run stocks.php (from Netscape)... I get this in apaches errorlog: undefined symbol: zend_hash_internal_poiner_ex The stocks example

Re: [PHP] Extending PHP

2001-01-25 Thread Thomas Wentzel
Hi Rasmus, Thank you for the link - and sorry about the empty messages ;-) The slides did help to some extend. But I'm only able to compile as described in slide 28. When I try to compile it as a shared module no .so file is generated. I do however get the following warnings: *** Warning: This

[PHP] Sorry

2001-01-25 Thread Thomas Wentzel
For the inconvenience... I had some trouble with my mailclient yesterday... This is just a test to check if my new mailer is any better... Sorry... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Extending PHP

2001-01-24 Thread Thomas Wentzel
Hi, I would like to know if anybody has had any luck in writing a PHP module, that uses an external (C) library, using ext_skel, buildconf/phpize... I've been reading the apidocs as well as "Web Application Development with PHP 4.0" but I still can't get it to work.. The problem is that allthou