[PHP] using extract inside an object

2002-06-21 Thread phpsurf
Hi does anyone know how to use the function extract inside an object, so as the created variables become attributes of the object ? a little example to be more explicit :) I have the following array: Array ( [one] = 1 [two] = 2 ) that I would like to transform into the following

RE: [PHP] using extract inside an object

2002-06-21 Thread phpsurf
great ! I should have thought about that ! :) and any idea of how to cast into a specific class instead of stdClass ? -Original Message- From: Remy Dufour [mailto:[EMAIL PROTECTED]] Sent: vendredi 21 juin 2002 15:21 To: phpsurf; [EMAIL PROTECTED] Subject: Re: [PHP] using extract

[PHP] overload extension doesn't load on PHP 4.2.1 + win2k

2002-06-21 Thread phpsurf
everything is in the subject :) the error message on apache startup is: Invalid library (maybe not a PHP library) 'php_overload.dll' anyone had this problem ? here is my phpinfo: PHP Version 4.2.1 System Windows NT 5.0 build 2195 Build Date May 12 2002 23:51:56 Server API Apache Virtual

RE: [PHP] Is there a replicate function in PHP

2002-06-21 Thread phpsurf
have look at the function 'str_pad' http://www.php.net/manual/en/function.str-pad.php -Original Message- From: Lazor, Ed [mailto:[EMAIL PROTECTED]] Sent: vendredi 21 juin 2002 17:57 To: 'Don'; php list Subject: RE: [PHP] Is there a replicate function in PHP I don't know if the

RE: [PHP] Seperating presentation from logic

2002-06-26 Thread phpsurf
personnaly, I agree with you, and I would really like to see more PHP frameworks (or template systems) rely on XML/XSLT. you can have a look at : http://www.interakt.ro/products/Krysalis/ it's a sort of rewrite of cocoon in PHP ... I had a look to the code, but never used it yet on a real

RE: [PHP] Web Services

2002-06-26 Thread phpsurf
you should use PEAR-SOAP ... there is also a php mailing list dedicated to the soap extension development ([EMAIL PROTECTED]) -Original Message- From: Thalis A. Kalfigopoulos [mailto:[EMAIL PROTECTED]] Sent: mercredi 26 juin 2002 17:11 To: Laurent Drouet Cc: [EMAIL PROTECTED]

RE: [PHP] Web Services

2002-06-26 Thread phpsurf
you can get the entire php code with examples from the pear cvs repository -Original Message- From: Thalis A. Kalfigopoulos [mailto:[EMAIL PROTECTED]] Sent: mercredi 26 juin 2002 17:35 To: phpsurf Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Web Services I looked in pear.php.net

RE: [PHP] OOP and xml_set_element_handler

2002-06-28 Thread phpsurf
have a look to the function xml_set_object in the doc: http://www.php.net/manual/en/function.xml-set-object.php -Original Message- From: Christof Rath [mailto:[EMAIL PROTECTED]] Sent: jeudi 27 juin 2002 23:19 To: [EMAIL PROTECTED] Subject: [PHP] OOP and xml_set_element_handler