Re: [PHP] Returning values from a function

2010-11-14 Thread
Hi: return array( 'string_to_display' = $string_to_display, . ); Best regards 惠新宸 Xinchen Hui http://www.laruence.com/ On 2010/11/15 11:10, Ron Piggott wrote: I am writing a string parsing function. I need to return 3 values from a function: return $string_to_display

Re: [PHP] confusion about the file extension for php interpreter to interpret

2010-11-13 Thread
Hi: add AddType application/x-httpd-php .Php into httpd.conf or any other config file in apache/conf/extra thanks 惠新宸 Xinchen Hui http://www.laruence.com/ On 11/14/2010 13:29, 肖晗 wrote: Apache defaultly use php interpreter to execute files ended with '.php' extension. How can I change

Re: [PHP] require_once

2010-10-18 Thread
hi: print_r(get_include_path()); thanks; Best regards 惠新宸 Xinchen Hui http://www.laruence.com/ On 10/19/2010 10:46, jim wrote: I'm having a problem including files using Zend Framework. I have in a controller file this require_once models/Member.php; and it doesn't work ,nor does

Re: [PHP] php5 - website development - what next

2010-10-08 Thread
On 10/08/2010 22:06, 惠新宸 wrote: test, i can't send mail to lists? thanks On 10/08/2010 22:02, 惠新宸 wrote: Hi: 1. you can be a Software Architect 2. you can abstract common requirements, developed php extension. thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Regular Expression Problem

2009-02-26 Thread
ks a lot for your help. Alice _ Express yourself with gadgets on Windows Live Spaces http://discoverspaces.live.com?source=hmtag1loc=us [^0-9] means not a digital ^[0-9] is the right way.. -- Laruence's Signature 惠 新宸 xinchen.hui | SYS | (+8610)82602112-7974 | :laruence

Re: [PHP] How can an elephant count for nothing?

2009-02-12 Thread
ll convert the string into integer , Strings will most likely return 0 although this depends on the leftmost characters of the string. -- Laruence's Signature 惠 新宸 xinchen.hui | SYS | (+8610)82602112-7974 | :laruence

Re: [PHP] Wierd Variable Initialization

2008-09-24 Thread
do this , it works require_once('tokenmap.php'); $tokenmap = $GLOBAL['tokenmap']; print_r($tokenmap); Its kind of wierd for me. I am trying to understand. Can some one shed some light on it for me. Thanks -- 惠 新宸 xinchen.hui | SYS | (+8610)82602112-7974 | :laruence

Re: [PHP] Wierd Variable Initialization

2008-09-24 Thread
do this , it works require_once('tokenmap.php'); $tokenmap = $GLOBAL['tokenmap']; print_r($tokenmap); Its kind of wierd for me. I am trying to understand. Can some one shed some light on it for me. Thanks -- 惠 新宸 xinchen.hui | SYS | (+8610)82602112-7974 | :laruence