Re: [PHP-DEV] 0 size snaps?
Sebastian Nohn schrieb: http://snaps.php.net/php4-200207311500.tar.gz http://snaps.php.net/php4-200207311500.tar.bz2 And alle the -latested + the last STABLE Files have 0 size. The snaps are still broken and the last one is still from 07/31/2002 Regards, Sebastian Nohn -- [EMAIL PROTECTED] - http://nohn.net/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] oci8 extension
On Thu, Aug 01, 2002 at 12:59:31PM +0200, Abdul-Kareem Abo-Namous wrote: hi everyone i'm new to this list so please be patient with me (but not too patient ;-)). i am currently a contractor for a pretty big it company that is migrating all its php sites to oracle 9i. since we ran into some large problems related to character sets and the way the oci library handles enviroment setup in a shared environment, we have agreed to write new functions that expose new functionality in oracle's oci in php. we're talking about a mere 2 new functions that can't be used in oracle 8's oci. now my questions are: -should i fork the oci8 extension into a new one (oci9 or so) that includes these functions and all other (older) functions with modified names, and submit it as a new extension, or no. -just submit a patch for ext/oci8 that adds these two functions and add a switch that turns them on or off depending on what oci lib version was found during a build process? yes. furtheron, is there anyone out there already working on an oci9 extension? anyway, thanks for reading. if there's any interest, i can shed some light on a few details of the problems forcing us to do this. there is no oci9 AFAIK the interface is called OCI and was introduced with oracle8. as were just talking about adding some calls (is it that easy?) there is no reason to fork. re, tc -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] oci8 extension
thanks thies i was expecting this answer and i'm glad you see it this way, too. there is no oci9 AFAIK the interface is called OCI and was introduced with oracle8. as were just talking about adding some calls (is it that easy?) there is no reason to fork. i *hope* it's easy. i am just going to add the two needed calls and submit a patch, pretty straight forward. btw i only called it oci9 to emphasize that we are using oci functions that are only available in the oci that ships with oracle 9. best regards, cu Abdul - Original Message - From: Thies C. Arntzen [EMAIL PROTECTED] To: Abdul-Kareem Abo-Namous [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 11:07 AM Subject: Re: [PHP-DEV] oci8 extension On Thu, Aug 01, 2002 at 12:59:31PM +0200, Abdul-Kareem Abo-Namous wrote: hi everyone i'm new to this list so please be patient with me (but not too patient ;-)). i am currently a contractor for a pretty big it company that is migrating all its php sites to oracle 9i. since we ran into some large problems related to character sets and the way the oci library handles enviroment setup in a shared environment, we have agreed to write new functions that expose new functionality in oracle's oci in php. we're talking about a mere 2 new functions that can't be used in oracle 8's oci. now my questions are: -should i fork the oci8 extension into a new one (oci9 or so) that includes these functions and all other (older) functions with modified names, and submit it as a new extension, or no. -just submit a patch for ext/oci8 that adds these two functions and add a switch that turns them on or off depending on what oci lib version was found during a build process? yes. furtheron, is there anyone out there already working on an oci9 extension? anyway, thanks for reading. if there's any interest, i can shed some light on a few details of the problems forcing us to do this. there is no oci9 AFAIK the interface is called OCI and was introduced with oracle8. as were just talking about adding some calls (is it that easy?) there is no reason to fork. re, tc -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring mbfilter.c mbfilter.h mbregex.c mbstring.c mbstring.h /main rfc1867.c
At 12:22 02.08.2002, you wrote: helly Fri Aug 2 06:22:31 2002 EDT Modified files: /php4/ext/mbstring mbfilter.c mbfilter.h mbregex.c mbstring.c mbstring.h /php4/main rfc1867.c Log: -use const to clarify code -fix tsrmls build (therefore rfc1867.c) Rui, you shoul use TSRM builds by adding one of the --enable-tsrm-XXX configure options. The TSRMLS_C ist used in calls where normally no parameter would occure: f(TSRMLS_C) TSRMLS_CC is the same preceded by ',' therefore it is f(param1, param2 TSRMLS_CC) TSRMLS_D and TSRMLS_DC are for function definitions, again second with additional ','. If have just added all the consts but not the HTML encoding stuff even though it works fine now. Because you suggested we give it another name. What about HTML-ENTITIES with HTML being an Alias? marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: cvs: php4 /ext/mbstring mbfilter.c mbfilter.h mbregex.c mbstring.cmbstring.h /main rfc1867.c
Marcus BöRger wrote: helly Fri Aug 2 06:22:31 2002 EDT Modified files: /php4/ext/mbstringmbfilter.c mbfilter.h mbregex.c mbstring.c mbstring.h /php4/mainrfc1867.c Log: -use const to clarify code -fix tsrmls build (therefore rfc1867.c) As I already mentioned sevral times, New mbstring is under development and all changes after the initial warning are subject to be removed BTW, most things that can be a const is defined as const in new mbstring... New mbstring has streamable filter and the new code looks a lot differ... -- Yasuo Ohgaki -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] oci8 extension
On Fri, Aug 02, 2002 at 11:21:10AM +0200, Abdul-Kareem Abo-Namous wrote: thanks thies i was expecting this answer and i'm glad you see it this way, too. there is no oci9 AFAIK the interface is called OCI and was introduced with oracle8. as were just talking about adding some calls (is it that easy?) there is no reason to fork. i *hope* it's easy. i am just going to add the two needed calls and submit a patch, pretty straight forward. btw i only called it oci9 to emphasize that we are using oci functions that are only available in the oci that ships with oracle 9. just send the patch once it's ready! re, tc -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] HANDLE_BLOCK_INTERRUPTIONS
On Thu, Aug 01, 2002 at 10:10:10AM -0700, Brad LaFountain wrote: HANDLE_BLOCK_INTERRUPTIONS(); HANDLE_UNBLOCK_INTERRUPTIONS(); what exactly does these do? this is an apache thingie. you can tell apache that you don't want to be killed during certain operations. i doubt very mucht that it really helps;-) look in the apache sapi module. tc -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DEV] 0 size snaps?
This should be fixed. -- James Sebastian Nohn schrieb: http://snaps.php.net/php4-200207311500.tar.gz http://snaps.php.net/php4-200207311500.tar.bz2 And alle the -latested + the last STABLE Files have 0 size. The snaps are still broken and the last one is still from 07/31/2002 Regards, Sebastian Nohn -- [EMAIL PROTECTED] - http://nohn.net/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] HANDLE_BLOCK_INTERRUPTIONS
Thanks.. I figured it out after looking at all the places where it was being used. The biggest use was when you are changing link'd lists or arrays. So i assumed it did something to that affect. - brad --- Thies C. Arntzen [EMAIL PROTECTED] wrote: On Thu, Aug 01, 2002 at 10:10:10AM -0700, Brad LaFountain wrote: HANDLE_BLOCK_INTERRUPTIONS(); HANDLE_UNBLOCK_INTERRUPTIONS(); what exactly does these do? this is an apache thingie. you can tell apache that you don't want to be killed during certain operations. i doubt very mucht that it really helps;-) look in the apache sapi module. tc __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] HELP HELP HELP
Hey kinda newbie question here. I am running apache 1.3.6 (tryed with 2 for that matter) and I can't run php scripts properly, the scripts are interpreted fine but I can't pass any vars from an html form, they just come out empty. I tried with GET and POST with no luck. All seems to be fine in php.ini and in http.conf I am running php as cgi. any ideas? Help would be greatly appreciated. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DEV] HELP HELP HELP
You have to declare the variables as globals, or set register_globals to On in you php.ini file. In any case. Please direct all newbie questions on developing with php to php-general. php-dev is for development of php itself. Joseph -Original Message- From: JJ [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: [PHP-DEV] HELP HELP HELP Hey kinda newbie question here. I am running apache 1.3.6 (tryed with 2 for that matter) and I can't run php scripts properly, the scripts are interpreted fine but I can't pass any vars from an html form, they just come out empty. I tried with GET and POST with no luck. All seems to be fine in php.ini and in http.conf I am running php as cgi. any ideas? Help would be greatly appreciated. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Socket Timeouts
There is a problem with PHP in the way it currently handles opening of connections to remote servers via php_streams. The problem can cause a PHP script to sit a virtually forever inside a select() waiting for a response from a remote server. This in turn causes an a webserver child, to become effectively dead and if it happens enough times cause a denial of service. This is particularly dangerous bug, since PHP scripts that open remote files/resources are very common and those scripts can allow an attacker to launch a trivially easy denial of service attack that would result in all of the web servers threads/forks sitting on selects waiting on data from a external source. The solution to the problem is one line patch below, that sets the socket timeout from unlimited to 10 seconds, thus preventing the problem I've described above from happening. main/network.c 511c511 sock-timeout.tv_sec = -1; --- sock-timeout.tv_sec = 10; Ilia P.S. If some of you do not feel comfortable with setting a static value for a timeout, we can introduce a php.ini option allowing the admin to set a different timeout value for sockets. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] [PATCH] ZEND_* instead of PHP_*
The CODING_STANDARDS document recommends the use of the ZEND_* macros instead of the PHP_* ones (point 7). Use ZEND_* macros instead of PHP_* macros. This patch makes the CODING_STANDARDS, README.EXT_SKEL, and skeleton directory use the ZEND_FE and ZEND_FUNCTION in place of the PHP_ counterparts. This should encourage developers of new extension modules to use the ZEND_ macros in place of the PHP_ ones. dave == PATCH inlined here == diff -ruNbB ../php-4.2.2.ORIG/CODING_STANDARDS ./CODING_STANDARDS --- ../php-4.2.2.ORIG/CODING_STANDARDS Wed Feb 27 22:31:09 2002 +++ ./CODING_STANDARDS Fri Aug 2 09:56:42 2002 -68,7 +68,7 -- [1] Function names for user-level functions should be enclosed with in -the PHP_FUNCTION() macro. They should be in lowercase, with words +the ZEND_FUNCTION() macro. They should be in lowercase, with words underscore delimited, with care taken to minimize the letter count. Abbreviations should not be used when they greatly decrease the readability of the function name itself. -169,7 +169,7 /* {{{ proto int abs(int number) Returns the absolute value of the number */ -PHP_FUNCTION(abs) +ZEND_FUNCTION(abs) { ... } diff -ruNbB ../php-4.2.2.ORIG/README.EXT_SKEL ./README.EXT_SKEL --- ../php-4.2.2.ORIG/README.EXT_SKEL Wed Aug 1 22:49:23 2001 +++ ./README.EXT_SKEL Fri Aug 2 09:57:37 2002 -148,7 +148,7 /* {{{ proto bool my_drawtext(resource image, string text, resource font, int x, int y[, int color]) */ -PHP_FUNCTION(my_drawtext) +ZEND_FUNCTION(my_drawtext) { zval **image, **text, **font, **x, **y, **color; int argc; diff -ruNbB ../php-4.2.2.ORIG/ext/skeleton/create_stubs ./ext/skeleton/create_stubs --- ../php-4.2.2.ORIG/ext/skeleton/create_stubs Tue Dec 18 03:16:53 2001 +++ ./ext/skeleton/create_stubs Fri Aug 2 09:50:58 2002 -226,7 +226,7 convert(i, j, 1) } - proto = proto closeopts )\nfcomments[i] */\nPHP_FUNCTION( funcs[i] )\n{ + proto = proto closeopts )\nfcomments[i] */\nZEND_FUNCTION( funcs[i] )\n{ if (maxargs[i]0) { fetchargs = fetchargs ) == FAILURE) closefetch \n\t\treturn;\n } -254,11 +254,11 print }\n/* }}} */\n stubfile if (stubs) { - h_stubs = h_stubs PHP_FUNCTION( funcs[i] );\n - c_stubs = c_stubs \tPHP_FE( funcs[i] ,\tNULL)\n + h_stubs = h_stubs ZEND_FUNCTION( funcs[i] );\n + c_stubs = c_stubs \tZEND_FE( funcs[i] ,\tNULL)\n } else { - print PHP_FUNCTION( funcs[i] ); extname /function_declarations - print \tPHP_FE( funcs[i] ,\tNULL) extname /function_entries + print ZEND_FUNCTION( funcs[i] ); extname +/function_declarations + print \tZEND_FE( funcs[i] ,\tNULL) extname +/function_entries } if (xml) print xmlstr xmldoc diff -ruNbB ../php-4.2.2.ORIG/ext/skeleton/php_skeleton.h ./ext/skeleton/php_skeleton.h --- ../php-4.2.2.ORIG/ext/skeleton/php_skeleton.h Wed Aug 8 21:47:47 2001 +++ ./ext/skeleton/php_skeleton.h Fri Aug 2 09:51:44 2002 -22,7 +22,7 PHP_RSHUTDOWN_FUNCTION(extname); PHP_MINFO_FUNCTION(extname); -PHP_FUNCTION(confirm_extname_compiled);/* For testing, remove later. */ +ZEND_FUNCTION(confirm_extname_compiled); /* For testing, remove later. */ /* __function_declarations_here__ */ /* diff -ruNbB ../php-4.2.2.ORIG/ext/skeleton/skeleton.c ./ext/skeleton/skeleton.c --- ../php-4.2.2.ORIG/ext/skeleton/skeleton.c Sat Dec 1 16:59:44 2001 +++ ./ext/skeleton/skeleton.c Fri Aug 2 09:54:28 2002 -21,7 +21,7 * Every user visible function must have an entry in extname_functions[]. */ function_entry extname_functions[] = { - PHP_FE(confirm_extname_compiled,NULL) /* For testing, remove later. */ + ZEND_FE(confirm_extname_compiled, NULL) /* For testing, remove +later. */ /* __function_entries_here__ */ {NULL, NULL, NULL} /* Must be the last line in extname_functions[] */ }; -135,7 +135,7 /* Every user-visible function in PHP should document itself in the source */ /* {{{ proto string confirm_extname_compiled(string arg) Return a string to confirm that the module is compiled in */ -PHP_FUNCTION(confirm_extname_compiled) +ZEND_FUNCTION(confirm_extname_compiled) { char *arg = NULL; int arg_len, len; -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Odd array problems
With latest CVS (HEAD branch, checked out 10 or so minutes ago), the following script: ?php error_reporting(E_ALL); $text = Before delim.br /\n--br /\nAfter delim; $parts = preg_split('|(\n--\s*(br /)?\n)|', $text, 2, PREG_SPLIT_DELIM_CAPTURE); $text = array_shift($parts); if (count($parts)) { echo 'pre /'; var_dump($parts); $text .= $parts[0]; $text .= $parts[2]; } ? Gives me this output: array(3) { [0]= string(10) -- [1]= string(6) [2]= string(11) After delim } Notice: Undefined offset: 0 in /var/www/array.php on line 10 Notice: Undefined offset: 2 in /var/www/array.php on line 11 But the var_dump() clearly shows that there _are_ elements 0 and 2 in the array. What am I missing, or is something still off with the array code? -chuck -- hello, I'm a giant cheese, and I'm here to give you a therapeutic massage -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Odd array problems
My output looks a lot different than yours and I'm not receiving the notices you are. Same script only on OSX debug from the CLI. pre /array(3) { [0]= string(10) --br / [1]= string(6) br / [2]= string(11) After delim } End of script CVS HEAD from earlier this morning (arond 9 am EST). On Fri, 2 Aug 2002, Chuck Hagenbuch wrote: With latest CVS (HEAD branch, checked out 10 or so minutes ago), the following script: ?php error_reporting(E_ALL); $text = Before delim.br /\n--br /\nAfter delim; $parts = preg_split('|(\n--\s*(br /)?\n)|', $text, 2, PREG_SPLIT_DELIM_CAPTURE); $text = array_shift($parts); if (count($parts)) { echo 'pre /'; var_dump($parts); $text .= $parts[0]; $text .= $parts[2]; } ? Gives me this output: array(3) { [0]= string(10) -- [1]= string(6) [2]= string(11) After delim } Notice: Undefined offset: 0 in /var/www/array.php on line 10 Notice: Undefined offset: 2 in /var/www/array.php on line 11 But the var_dump() clearly shows that there _are_ elements 0 and 2 in the array. What am I missing, or is something still off with the array code? -chuck -- hello, I'm a giant cheese, and I'm here to give you a therapeutic massage --- Dan KalowskyA little less conversation, http://www.deadmime.org/~danka little more action. [EMAIL PROTECTED]- A Little Less Conversation, [EMAIL PROTECTED]Elvis Presley -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Odd array problems
Correction an update from a few mins ago results in the same output as Chuck's original. On Fri, 2 Aug 2002, Chuck Hagenbuch wrote: With latest CVS (HEAD branch, checked out 10 or so minutes ago), the following script: ?php error_reporting(E_ALL); $text = Before delim.br /\n--br /\nAfter delim; $parts = preg_split('|(\n--\s*(br /)?\n)|', $text, 2, PREG_SPLIT_DELIM_CAPTURE); $text = array_shift($parts); if (count($parts)) { echo 'pre /'; var_dump($parts); $text .= $parts[0]; $text .= $parts[2]; } ? Gives me this output: array(3) { [0]= string(10) -- [1]= string(6) [2]= string(11) After delim } Notice: Undefined offset: 0 in /var/www/array.php on line 10 Notice: Undefined offset: 2 in /var/www/array.php on line 11 But the var_dump() clearly shows that there _are_ elements 0 and 2 in the array. What am I missing, or is something still off with the array code? -chuck -- hello, I'm a giant cheese, and I'm here to give you a therapeutic massage --- Dan KalowskyA little less conversation, http://www.deadmime.org/~danka little more action. [EMAIL PROTECTED]- A Little Less Conversation, [EMAIL PROTECTED]Elvis Presley -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] share libraries from repository
please direct php help questions to the php-general mailing list. the php-dev list is for the language development itself. On Fri, 2 Aug 2002, [iso-8859-1] Ricardo Javier Aranibar León wrote: Hi List, I need your help. I wrote my classes with php where I defined my objects, then I created my repository in /usr/share/php , in this directory are my clasess. Now, from my directory web I like to call to my classes, then I modified my php.ini (/etc/php.ini) and inserted this line, in the option Paths and Directories include_path = .:/usr/share/php and restart apache. In my page index.php I call to my class with this form ? include (plantilla.class) ? But when I like to see my page I have two message: 1) Warning: Failed opening 'plantilla.class' for inclusion (include_path='.:/usr/share/php') in /usr/local/httpd/htdocs/index.php on line 2 2)Fatal error: Cannot instantiate non-existent class: pagina in /usr/local/httpd/htdocs/index.php on line 3 If somebody can help me I'll thankfull, My box linux is SuSE 7.3, PHP 4.04 and Apache. _ Únase al mayor servicio mundial de correo electrónico: http://www.hotmail.com/es --- Dan KalowskyA little less conversation, http://www.deadmime.org/~danka little more action. [EMAIL PROTECTED]- A Little Less Conversation, [EMAIL PROTECTED]Elvis Presley -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] share libraries from repository
Hi List, I need your help. I wrote my classes with php where I defined my objects, then I created my repository in /usr/share/php , in this directory are my clasess. Now, from my directory web I like to call to my classes, then I modified my php.ini (/etc/php.ini) and inserted this line, in the option Paths and Directories include_path = .:/usr/share/php and restart apache. In my page index.php I call to my class with this form ? include (plantilla.class) ? But when I like to see my page I have two message: 1) Warning: Failed opening 'plantilla.class' for inclusion (include_path='.:/usr/share/php') in /usr/local/httpd/htdocs/index.php on line 2 2)Fatal error: Cannot instantiate non-existent class: pagina in /usr/local/httpd/htdocs/index.php on line 3 If somebody can help me I'll thankfull, My box linux is SuSE 7.3, PHP 4.04 and Apache. _ Únase al mayor servicio mundial de correo electrónico: http://www.hotmail.com/es -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] SIGALRM in Apache 2.0 on Solaris 2.8 w/PHP 4.2.2
We are having difficulty getting PHP 4.2.2 to play nicely with Apache 2.0.36 configured with a prefork mpm on Solaris 2.8. The child processes keep dying with uncaught SIGALRM's. This problem disappears when php is removed from the apache configuration. I've attached a truss output. Has anyone else experienced this problem, and if so, what was your solution? Thanks for your time, -- Cody Sherr Software Engineer, Covalent Technologies, Inc. email: [EMAIL PROTECTED] 28507: time() = 1028186081 28507: fstat64(94, 0xFB009410) = 0 28507: ioctl(94, TCGETA, 0xFB00939C) Err#25 ENOTTY 28507: write(94, [ 0 1 - A u g - 2 0 0 2.., 138)= 138 28507: close(94) = 0 28507: close(99) = 0 28507: resolvepath(/raid/www/php.ers.2.2.log, /raid/www/php.ers.2.2.log, 1024) = 25 28507: open(/raid/www/php.ers.2.2.log, O_WRONLY|O_APPEND|O_CREAT, 0666) = 94 28507: llseek(94, 0, SEEK_END) = 0x01DBEA24 28507: time() = 1028186081 28507: fstat64(94, 0xFB009410) = 0 28507: ioctl(94, TCGETA, 0xFB00939C) Err#25 ENOTTY 28507: write(94, [ 0 1 - A u g - 2 0 0 2.., 139)= 139 28507: close(94) = 0 28507: resolvepath(/raid/www/php.ers.2.2.log, /raid/www/php.ers.2.2.log, 1024) = 25 28507: open(/raid/www/php.ers.2.2.log, O_WRONLY|O_APPEND|O_CREAT, 0666) = 94 28507: llseek(94, 0, SEEK_END) = 0x01DBEAAF 28507: time() = 1028186081 28507: brk(0x01893420) = 0 28507: brk(0x01895420) = 0 28507: lwp_sema_post(0xFB807E30) = 0 28507: lwp_sema_wait(0xFB807E30) = 0 28507: lwp_mutex_wakeup(0xFF0455B0)= 0 28507: lwp_mutex_lock(0xFF0455B0) = 0 28507: fstat64(94, 0xFB009410) = 0 28507: brk(0x01895420) = 0 28507: brk(0x01897420) = 0 28507: ioctl(94, TCGETA, 0xFB00939C) Err#25 ENOTTY 28507: write(94, [ 0 1 - A u g - 2 0 0 2.., 128)= 128 28507: close(94) = 0 28507: resolvepath(/raid/www/php.ers.2.2.log, /raid/www/php.ers.2.2.log, 1024) = 25 28507: resolvepath(/raid/www/www.foo.net/./include/OciClass.php, /raid/www/www.foo.net/include/OciC lass.php, 1024) = 47 28507: open(/raid/www/php.ers.2.2.log, O_WRONLY|O_APPEND|O_CREAT, 0666) = 94 28507: llseek(94, 0, SEEK_END) = 0x01DBEB2F 28507: time() = 1028186081 28507: fstat64(94, 0xFB009410) = 0 28507: ioctl(94, TCGETA, 0xFB00939C) Err#25 ENOTTY 28507: write(94, [ 0 1 - A u g - 2 0 0 2.., 135)= 135 28507: close(94) = 0 28507: resolvepath(/raid/www/php.ers.2.2.log, /raid/www/php.ers.2.2.log, 1024) = 25 28507: open(/raid/www/php.ers.2.2.log, O_WRONLY|O_APPEND|O_CREAT, 0666) = 94 28507: llseek(94, 0, SEEK_END) = 0x01DBEBB6 28507: time() = 1028186081 28507: fstat64(94, 0xFB009410) = 0 28507: ioctl(94, TCGETA, 0xFB00939C) Err#25 ENOTTY 28507: write(94, [ 0 1 - A u g - 2 0 0 2.., 128)= 128 28507: close(94) = 0 28507: resolvepath(/raid/www/php.ers.2.2.log, /raid/www/php.ers.2.2.log, 1024) = 25 28507: open(/raid/www/php.ers.2.2.log, O_WRONLY|O_APPEND|O_CREAT, 0666) = 94 28507: llseek(94, 0, SEEK_END) = 0x01DBEC36 28507: time() = 1028186081 28507: fstat64(94, 0xFB009410) = 0 28507: ioctl(94, TCGETA, 0xFB00939C) Err#25 ENOTTY 28507: write(94, [ 0 1 - A u g - 2 0 0 2.., 128)= 128 28507: close(94) = 0 28507: resolvepath(/raid/www/php.ers.2.2.log, /raid/www/php.ers.2.2.log, 1024) = 25 28507: open(/raid/www/php.ers.2.2.log, O_WRONLY|O_APPEND|O_CREAT, 0666) = 94 28507: llseek(94, 0, SEEK_END) = 0x01DBECB6 28507: time() = 1028186081 28507: fstat64(94, 0xFB009410) = 0 28507: ioctl(94, TCGETA, 0xFB00939C) Err#25 ENOTTY 28507: open(/raid/www/www.foo.net/include/OciClass.php, O_RDONLY) = 99 28507: write(94, [ 0 1 - A u g - 2 0 0 2.., 128)= 128 28507: close(94) = 0 28507:
[PHP-DEV] PHP (Tutorial) Documentation
Hello, Might anyone know of a complete source on the internet for PHP Documentation?? J Abbott Advanced Web Hosting Control Panel Project [EMAIL PROTECTED] == the Advanced Web Hosting Control Panel Project (Extend your life a little) == -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Free Encryption Method other than paid method: Zend
anyone know of a free encryption method other than Zend? == the Advanced Web Hosting Control Panel Project (Extend your life a little) == -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DEV] PHP (Tutorial) Documentation
www.php.net Please ask questions like these on the php-general list. This list is for the development of PHP, not with PHP. -Original Message- From: Joshua Abbott [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 5:17 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] PHP (Tutorial) Documentation Importance: High Hello, Might anyone know of a complete source on the internet for PHP Documentation?? J Abbott Advanced Web Hosting Control Panel Project [EMAIL PROTECTED] == the Advanced Web Hosting Control Panel Project (Extend your life a little) == -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] SIGALRM in Apache 2.0 on Solaris 2.8 w/PHP 4.2.2
I'm surprised it worked at all. Start with CVS versions of both and go from there. On Fri, 2 Aug 2002, Cody Sherr wrote: We are having difficulty getting PHP 4.2.2 to play nicely with Apache 2.0.36 configured with a prefork mpm on Solaris 2.8. The child processes keep dying with uncaught SIGALRM's. This problem disappears when php is removed from the apache configuration. I've attached a truss output. Has anyone else experienced this problem, and if so, what was your solution? Thanks for your time, -- Cody Sherr Software Engineer, Covalent Technologies, Inc. email: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring mbfilter.c mbfilter.h mbregex.c mbstring.c mbstring.h /main rfc1867.c
Thank you for tsrm fix. I think html-entities is better than html. On Fri, 02 Aug 2002 12:37:05 +0200 [EMAIL PROTECTED] (Marcus B¾Órger) wrote: At 12:22 02.08.2002, you wrote: helly Fri Aug 2 06:22:31 2002 EDT Modified files: /php4/ext/mbstring mbfilter.c mbfilter.h mbregex.c mbstring.c mbstring.h /php4/main rfc1867.c Log: -use const to clarify code -fix tsrmls build (therefore rfc1867.c) Rui, you shoul use TSRM builds by adding one of the --enable-tsrm-XXX configure options. The TSRMLS_C ist used in calls where normally no parameter would occure: f(TSRMLS_C) TSRMLS_CC is the same preceded by ',' therefore it is f(param1, param2 TSRMLS_CC) TSRMLS_D and TSRMLS_DC are for function definitions, again second with additional ','. If have just added all the consts but not the HTML encoding stuff even though it works fine now. Because you suggested we give it another name. What about HTML-ENTITIES with HTML being an Alias? marcus -- - Rui Hirokawa [EMAIL PROTECTED] [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Odd array problems
Should be fixed. I swear there better not be anything else wrong with that code chage :) I know alot more how the engine handles arrays now :) - brad --- Dan Kalowsky [EMAIL PROTECTED] wrote: Correction an update from a few mins ago results in the same output as Chuck's original. On Fri, 2 Aug 2002, Chuck Hagenbuch wrote: With latest CVS (HEAD branch, checked out 10 or so minutes ago), the following script: ?php error_reporting(E_ALL); $text = Before delim.br /\n--br /\nAfter delim; $parts = preg_split('|(\n--\s*(br /)?\n)|', $text, 2, PREG_SPLIT_DELIM_CAPTURE); $text = array_shift($parts); if (count($parts)) { echo 'pre /'; var_dump($parts); $text .= $parts[0]; $text .= $parts[2]; } ? Gives me this output: array(3) { [0]= string(10) -- [1]= string(6) [2]= string(11) After delim } Notice: Undefined offset: 0 in /var/www/array.php on line 10 Notice: Undefined offset: 2 in /var/www/array.php on line 11 But the var_dump() clearly shows that there _are_ elements 0 and 2 in the array. What am I missing, or is something still off with the array code? -chuck -- hello, I'm a giant cheese, and I'm here to give you a therapeutic massage --- Dan Kalowsky A little less conversation, http://www.deadmime.org/~dank a little more action. [EMAIL PROTECTED] - A Little Less Conversation, [EMAIL PROTECTED] Elvis Presley -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] REg- array_unique
Hello All, I tried a program using array_unique.It shows different outputs in PHP4.06 and PHP4.22 Program: ?php $employee[0]='snp'; $employee[1]='snp'; $employee[2]='snp'; $yee=array_unique($employee); while(list($i,$c)=each($yee)) { echo Index .$i. Content.$c; } ? Output: PHP4.06 Index 0 Content snp PHP4.22 Index 2 Content snp Why the index is differed in two version? Whether the function array_unique is handled in a different way in PHP4.22. Any help is appreciated. Advance thanks and regards, SenthilVelavan.P
Re: [PHP-DEV] Odd array problems
Quoting Brad LaFountain [EMAIL PROTECTED]: Should be fixed. I swear there better not be anything else wrong with that code chage :) I know alot more how the engine handles arrays now :) Confirming that things seem to work as expected now. -chuck -- Charles Hagenbuch, [EMAIL PROTECTED] After a few minutes the most aromatic and nice smelling Italian coffee will come out of the exhaustpipe. - Our stove-top espresso pot -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php