[PHP-DEV] CVS Account Request: linux521

2003-02-28 Thread chris lee
Learning PHP Program! -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] problem in starting apache in win2k with mcrypt and mhash module

2002-09-05 Thread Terence Lee
Hello i've uncommended the mcrypt and mhash line in c:\winnt\php.ini. then i try to start the apache but encounter the following error msg "The procedure entry point _ecalloc could not be located in the dynamic link library php4ts.dll" "Unable to load dynamic library 'c:\php\extensions\php_mcry

[PHP-DEV] largest value of the 2nd parameter in fgets function

2002-09-05 Thread Terence Lee
hello i've tried to read a line from a text file by fgets($fp,8192). it work fine. however, there is a line over 8192 char and i tried to increase the 2nd parameter (e.g. 8193, 16384, 88192) still only 8192 char are read to my string variables. is it a limit of fgets or length of a string? any

[PHP-DEV] Re: results of mysql_fetch are returning the incorrect records

2002-08-15 Thread K. Lee
I tried echo the sql in this function but I do not know where it print the statement. This function is inside *.inc file which is require in the html that I am printing the results of the query. So, to answer your question, I using the data to display on a html page. I am returning an array fro

[PHP-DEV] results of mysql_fetch are returning the incorrect records

2002-08-13 Thread K. Lee
I have problems with mysql_fetch return the wrong records. If I execute the sql statement in mysql, I receive the correct results. When I used mysql_fetch function, it does not return the correct results. Below is my function and the format sql statement function companiesByBusiness_ZipCode_Bu

[PHP-DEV] create a file (simple)

2002-08-10 Thread K. Lee
This is my first using php. I trying to do something by creating file to see the sql statement I am sending to my database. I assuming php does not have way throw up a simple message box. Anyway, if I could get this file to create that would be great. Any help would be appreciated. function wr

[PHP-DEV] create file (simple)

2002-08-10 Thread K. Lee
I am new at php. I trying to debug my code. So, I am trying to print out my sql statement to a file to make sure the syntax is correct. I trying to find a way to print out to a message box or something. I guess php does not have that capability or I cannot find the function that will help me d

[PHP-DEV] CVS Account Request: progcom

2002-06-06 Thread Yun-young Lee
Translating the documentation to Korean. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: willylee

2002-05-14 Thread Willy Lee
develop a php application -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Bug #15477: ereg_replace and str_replace non function

2002-02-09 Thread lee . bolding
.user, table.pass, FROM table, WHERE table.id='1234' AND table.user='lee' AND ORDER BY table.id DESC"; This is being automatically generated based on the amount of arguments passed to the script (which explains the superflous ,'s and ANDs). So, I'm using ereg_

[PHP-DEV] CVS Account Request: nogada

2001-12-18 Thread Yongmin Lee
translation for manual -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] Bug #13825: sort functions

2001-10-25 Thread lee
e done. function my_asort($array) { asort($array); return $array); } even if you dont want to ever include this into base php, at least make asort return the newly modified variable. $tmp = $test; foreach( asort($tmp) as $pos => $val ) Chris Lee [EMAIL PROTECTED] --

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

2001-10-03 Thread Ming-Chieh Lee
Hello, I have a question on how to pass object variable from page to page. Here is something that I found, but it doesn't work. I would greatly appreciate if someone can help: 1. does it matter if I include first, then so session_start()? file1.php who = "me"; // this is where my doubt reside

[PHP-DEV] Re: Bug #13304 Updated: string comparisons not working as expected

2001-09-14 Thread Chris Lee
aybe I want it to be compared as a string, therfore false. if ( (string)'12.00' == (string)'12' ) doesnt work as I have found and you confirmed. ? you have to use strcmp() ? it would be real nice to see that built in vs a function. Chris Lee [EMAIL PROTECTED] - Original Me

[PHP-DEV] Bug #13304: string comparisons not working as expected

2001-09-14 Thread lee
beleive there is more then a quirk and more of a bug. the third susceeds just as it should, its just not near as elegant as a simple if ($var_1 == $var_2). -- Chris Lee [EMAIL PROTECTED] -- Edit bug report at: http://bugs.php.net/?id=13304&edit=1 -- PHP Development Mailin

[PHP-DEV] Re: Bug #11070 Updated: '@' does not turn off error checking in foreach()

2001-08-28 Thread Chris Lee
thats fine, I use exactly that right now, just would be nice to see the @foreach() implemented. thanks. Chris Lee [EMAIL PROTECTED] - Original Message - From: "Bug Database" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 28, 2001 1:19

[PHP-DEV] Bug #12028: array_sum changed

2001-07-10 Thread lee
to make this work. $val) array_sum_multi($val, 0); else $sum += $value; return $sum; } $test[][] = 1; $test[][] = 2; $test[][] = 3; echo array_sum_multi($test); ?> just would be nice to see included. Chris Lee [EMAIL PROTECTED] -- Edit

[PHP-DEV] Bug #11070: '@' does not turn off error checking in foreach()

2001-05-23 Thread lee
command. ie. $val) { } ?> gives an error because $test is not set. $val) { } ?> gives an error because its the wrong data type. $val) { } ?> gives a syntax error. it would be nice if this last command worked :) Chris Lee [EMAIL PROTECTED] -- Edit Bug report at: http://

[PHP-DEV] Bug #10501: array_sumn causes segfault when used with unset vars

2001-04-25 Thread lee
. only apache's error_log shows a segfault. Chris Lee [EMAIL PROTECTED] -- Edit Bug report at: http://bugs.php.net/?id=10501&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP-DEV] Bug #10477: ob_start('function') is called before trans-sid is applied, not after

2001-04-24 Thread lee
s applied, it should be called after. no ? what is strange is that if I use ob_start() to gzip my content trans-sid is astill applied, but I dont know how this is done to compressed code.... I will have to check this. Chris Lee [EMAIL PROTECTED] -- Edit Bug report at: http://bugs.php.ne

[PHP-DEV] xml with php

2001-04-19 Thread steve lee
Please can you guide me, I want to use php to update the following xml with the values the user fills in. for example add value="" in the "input type text" line and add checked to the Radio button line. Is there any functions in php that can be used to step through a xml and just update the form o

[PHP-DEV] RE: PHP 4.0 Bug #9471 Updated: Warning: $CS is not an object in /www/wwwx/index.phtml on line 25

2001-04-10 Thread Ed Lee
Jani, Thanks very much. The bug has been fixed, it was actually due to disk full which caused MySQL database crash. Regards, Ed -Original Message- From: Bug Database [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 10:12 AM To: [EMAIL PROTECTED] Subject: PHP 4.0 Bug #9471 Updat

[PHP-DEV] PHP 4.0 Bug #8202 Updated: exec("java -cp classpath classname inputArgument"); has no effect

2001-03-14 Thread Lee . Seldon
te the Java code in PHP, and that works. Lee --- [2001-02-24 12:40:58] [EMAIL PROTECTED] are you not getting any errors?? Can you try exec with other programs and see if it happens with them? Not getting a unable to

[PHP-DEV] PHP 4.0 Bug #8202 Updated: exec("java -cp classpath classname inputArgument"); has no effect

2001-03-13 Thread Lee . Seldon
aimed it worked. Using 4.0.3 as CGI installation Not urgent - our work-around -> re-wrote the Java code in PHP, and that works. Lee Previous Comments: --- [2001-02-24 12:40:58] [EMAIL PROTECTED] are you not gettin

Re: [PHP-DEV] Bug #8565 -- analyzed, but...?

2001-03-06 Thread Richard Lee-Morlang
On Tue, Mar 06, 2001 at 07:55:23PM +0200, Andi Gutmans wrote: > I couldn't reproduce this problem. It only happens when you declare the > sub-class before you declare the base class. > Is this what is happening to you? Or can you send me a very short > reproducing set of scripts. I sent scripts

[PHP-DEV] Bug #8565 -- analyzed, but...?

2001-03-06 Thread Richard Lee-Morlang
I ran into bug #8565, and after locating it in the database, I see that it's marked as analyzed but it hasn't been updated for two months. The last comment indicates that it's been left for "Zeev/Andi's attention". I tried current CVS and it breaks as well. It seems like this would make the par

[PHP-DEV] RE: PHP 4.0 Bug #9471 Updated: Warning: $CS is not an object in /www/wwwx/index.phtml on line 25

2001-02-26 Thread Ed Lee
I don't know why, our web site visabrc.com was working for years and problem occurred on last Saturday. No body changed any include files or so. However, In /usr/local/lib/php/class.Visitor.inc, we had $CS declared: mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 5:35 PM To: [EMAIL PR

[PHP-DEV] PHP 4.0 Bug #8898 Updated: #!/path/php at top of CGI script appears in output (Netscape Enterprise Server)

2001-01-25 Thread pete . lee
ID: 8898 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Other web server Description: #!/path/php at top of CGI script appears in output (Netscape Enterprise Server) Have belatedly noticed that M. Verrue made same suggestion in report 8782. Mea culpa. pl Previous Comments: -

[PHP-DEV] PHP 4.0 Bug #8898: #!/path/php at top of CGI script appears in output (Netscape Enterprise Server)

2001-01-25 Thread pete . lee
From: [EMAIL PROTECTED] Operating system: Solaris 2.6 PHP version: 4.0.4pl1 PHP Bug Type: Other web server Bug description: #!/path/php at top of CGI script appears in output (Netscape Enterprise Server) Solaris 2.6; Netscape Enterprise Server 3.6. Php interpreter built for

[PHP-DEV] Extending PHP and the STL

2001-01-12 Thread Jason Lee
to C linker issues (extern "C" { ), will the STL cause memory problems? Is this the right forum for this kind of question? Thanks! -- Jason Lee | "Gun control? Oh, great. Now how am I going to Programmer Analyst | well-regulate my militia?" -- The Onion -- PHP Devel

[PHP-DEV] PHP-4.0.3pl1 maybe some functions can't support PostgreSQL-7.0.3

2001-01-09 Thread Perrin Lee
Hi ! I found out some problem about PHP-4.0.3pl1 and PostgreSQL-7.0.3.  Like that: PHP Program Like that: - .. $sql_data = ("SELECT employee as "Employee Name" FROM emp_table"); pg_exec($sql_data); . Result: -