Re: [PHP] 大客户营销策略与区域市场开发

2010-01-23 Thread hack988 hack988
It's Spam.Have some administor for this mail-list can block this email address? 2010/1/22 Bipper Goes! : > OP: Watch your mouth. > > 2010/1/21 Kaya Saman > >> Marc Hall wrote: >> >>> >>> >>> From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Thursday, >>> January 21, 2010 11:18 AM >>>

Re: [PHP] Easy Eclipse PHP Problem

2010-01-17 Thread hack988 hack988
eridan >> >> On Mon, 2010-01-18 at 03:32 +0800, hack988 hack988 wrote: >> >> Yes,I'm just use text editor for php coding. >> It's faster than using IDE. >> I'm just add an custom syntax file ("php.stx" ) for Basic syntax and >>

Re: [PHP] Easy Eclipse PHP Problem

2010-01-17 Thread hack988 hack988
heridan > > On Mon, 2010-01-18 at 03:32 +0800, hack988 hack988 wrote: > > Yes,I'm just use text editor for php coding. > It's faster than using IDE. > I'm just add an custom syntax file ("php.stx" ) for Basic syntax and > php's internal fu

Re: [PHP] PHP & MS Sequel Server

2010-01-17 Thread hack988 hack988
you can use php with mssql2005. But infact that mysql is more suit than mssql in php environment. 2010/1/18 deal...@gmail.com : > > On Jan 17, 2010, at 11:06 AM, Ashley Sheridan wrote: > >> On Sun, 2010-01-17 at 10:47 -0800, dealtek wrote: >>> >>> http://www.aspfree.com/c/a/MS-SQL-Server/Using-PHP

Re: [PHP] Easy Eclipse PHP Problem

2010-01-17 Thread hack988 hack988
Yes,I'm just use text editor for php coding. It's faster than using IDE. I'm just add an custom syntax file ("php.stx" ) for Basic syntax and php's internal functions. Eclips's syntax and function association is so slow. 2010/1/18 Ashley Sheridan > > O

Re: [PHP] Easy Eclipse PHP Problem

2010-01-17 Thread hack988 hack988
Hi tedd! I'm not see your email about this open source before,but i can't understand why somebody like to use it. It is too fat,and depend with JDK,I think it's an bad idea. JAVA has so many problem with itself. so I'd like to use some simpler text editor to code with php. There is a work experien

Re: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1

2010-01-17 Thread hack988 hack988
I think Vasily Pupkin is right. http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=1.630;r2=1.631;f=h Found {portsdir}/Mk/bsd.port.mk and make sure the version is higher than 1.631(2009/12/18) In another side,your are use "*default tag=." in your supfile or /etc/make.conf? http://w

Re: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1

2010-01-13 Thread hack988 hack988
=== I try a 'make all-depend-list' the error shows up = which error show ? 2010/1/13 Don O'Neil : > This is _exactly_ what I did, and as soon as I try a 'make all-depend-list' > the error shows up. I don't even have the X11 system installed (it's a >

[PHP] Re: [PHP-DEV] any solution about array_walk with pass-by-reference UseData?

2010-01-13 Thread hack988 hack988
Online document say's Note: Please note that this function only checks one dimension of a n-dimensional array. Of course you can check deeper dimensions by using, for example, array_udiff_uassoc($array1[0], $array2[0], "data_compare_func", "key_compare_func");. It's not my needed My need is $disa

Re: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1

2010-01-12 Thread hack988 hack988
1.add WITHOUT_X11=yes in /etc/make.conf 2.remove X11BASE="" from that file and 4.make all-depend-list 5.make clean all depend soft 6.make menuconfig set X11 disable 7.make &&make install 2010/1/12 Don O'Neil : > Ok.. just for grins I installed a new instance of 6.1, NO Patches, just > straight o

[PHP] any solution about array_walk with pass-by-reference UseData?

2010-01-12 Thread hack988 hack988
In Online Document say's: Users may not change the array itself from the callback function. e.g. Add/delete elements, unset elements, etc. If the array that array_walk() is applied to is changed, the behavior of this function is undefined, and unpredictable. So I'm use Use Optional param( [, mixed

Re: [PHP] Unable to get output from exec "ssh remote-server 'ping -c4 ip'"

2010-01-07 Thread hack988 hack988
see this http://www.phpclasses.org/browse/package/4282.html 2009/12/28 robert mena : > Hi, > > I need to develop an interface that will, for example, ping IPs from a > remote server. So the php script will be hosted in a server with ssh access > (key) to the remote server. > > I can make it work f

[PHP] [php] Question about jsmin-php code

2009-12-29 Thread hack988 hack988
I'm see some code from jsmin-php like follow: I have some question about code 1.what is E_STRICT error level mean?I'm found an explain at http://www.php.net/manual/en/errorfunc.constants.php but i don't understand which situation need this level? 2.document for STDERR is at http://php.net/manual

Re: [PHP] Creating alphanumeric id for a table

2009-09-11 Thread hack988 hack988
You can use mysql's autoincrement ,but you must do some php for special display,follow is my method. 1.create an int or smallint mysql col. 2.set it autoincrement. 3.insert some dates to database. 4.select dates and display with letter prefix. for example: 12->AAA0012,AAA1234, you can make an php

Re: [PHP] Who kown this memcache_get_stats function ?

2009-09-06 Thread hack988 hack988
r 5, 2009 10:41:39 PM >> Subject: Re: [PHP] Who kown this memcache_get_stats function ? >> >> - Original Message >> > From: hack988 hack988 >> > To: PHP General List >> > Sent: Saturday, September 5, 2009 9:16:51 PM >> > Subject: Re: [PHP] Who ko

Re: [PHP] Who kown this memcache_get_stats function ?

2009-09-05 Thread hack988 hack988
e Memcache connection. > > Hope that helps. > > Jonathan > > > On Sun, Sep 6, 2009 at 1:16 AM, hack988 hack988 wrote: >> Nobody Kown this?This is my second question in this mail-list :(.I >> don't kown why it's no reply by anybody. >> >> 2009/9/5 hack

Re: [PHP] Who kown this memcache_get_stats function ?

2009-09-05 Thread hack988 hack988
Nobody Kown this?This is my second question in this mail-list :(.I don't kown why it's no reply by anybody. 2009/9/5 hack988 hack988 : > I found memcache_get_stats for memcached in some php code. > I'm search it at php.net's function list,but it no matched result :(.

[PHP] Who kown this memcache_get_stats function ?

2009-09-05 Thread hack988 hack988
I found memcache_get_stats for memcached in some php code. I'm search it at php.net's function list,but it no matched result :(. I had found explain for Memcache::getStats() at this link http://www.php.net/manual/en/function.memcache-getstats.php In this link,tell me that =

Re: [PHP] Array references - how to unset() ?

2009-09-03 Thread hack988 hack988
Yes,thanks and I sorry for my poor english 2009/9/3 Robert Cummings : > hack988 hack988 wrote: >> >> Reference vars in php would not be unset if it reference by another >> var,so you must keep original var had'nt being reference. > > You can't referenc

Re: [PHP] Array references - how to unset() ?

2009-09-03 Thread hack988 hack988
Reference vars in php would not be unset if it reference by another var,so you must keep original var had'nt being reference. 2009/9/3 Martin Zvarík : > AHA !!! > > OMG... how come I did not see that!? > > Instead this: > $array =& $array[$final]; > unset($array); > > This: > unset($array[$final]);

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-09-03 Thread hack988 hack988
       VALUE="" /> > >     >        Delta(puts): > >                    VALUE="" /> > >        style="color:maroon font:18pt Courier; font-weight:bold ">Calculate >     >        style="color:red font:18pt Courier; font-weight:bold ">

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-09-01 Thread hack988 hack988
Use Event Viewer and log type is :Application log 2009/9/2 Fred Silsbee : > I looked high and low but no syslog > > I am currently working under XP Prof SP3 > > --- On Mon, 8/31/09, hack988 hack988 wrote: > >> From: hack988 hack988 >> Subject: Re: [PHP] windo

Re: [PHP] Re: Install PHPMyAdmin with urpmi

2009-08-31 Thread hack988 hack988
Use follow codes for test your php,php_mysql is work well. use your ip replace localhost,your mysql port replace 3306 and username,password to replace mysql_user, mysql_password. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Install PHPMyAdmin with urpmi

2009-08-31 Thread hack988 hack988
I forgot some important thing. What Native api are u used by php_mysql? mysqlnd or mysql client lib? And What your mysql-server's version? 2009/9/1 hack988 hack988 : > Config means just use username and password for config file,in that > case u need't type any things,just open url

Re: [PHP] Re: Install PHPMyAdmin with urpmi

2009-08-31 Thread hack988 hack988
the line as you adviced just now. But It does not > make any difference. > > After I type root and the password and click the Login Button ('Go'), I > am not "in" but just stay on the login form without any error or > success message. > > Is there any another pos

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-31 Thread hack988 hack988
Please create a file(.php) and write follow codes for more details. 2009/8/31 Nico Sabbi : > Lars Torben Wilson ha scritto: >> 2009/8/28 Nico Sabbi : >> >>> Hi, >>> I'm testing one of my sites in safe_mode, but I'm experiencing some >>> st

Re: [PHP] Re: Install PHPMyAdmin with urpmi

2009-08-31 Thread hack988 hack988
Are u set auth_type to config? $cfg['Servers'][$i]['auth_type'] = 'config'; 2009/9/1 Ricky Tompu Breaky : > Dear Shawn. > > Firstly, thank you very much for your quick respond. > > I've installed the php-mysql: > " > [r...@mandreev linux]# urpmi php-mysql > Package php-mysql-5.3.0-0.1mud2009.1.i58

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-08-30 Thread hack988 hack988
Please set log_error=on,error_reporting=E_ALL,error_log=syslog in php.ini and then,see error detail in syslog. 2009/8/31 Fred Silsbee : > I got 5.3 working but found out there was no php_mssql.dll for it. > Somebody (who didn;t know) said I had to return to 5.2.8 but I found no 5.2.8 > so I am tr

Re: [PHP]Some body test php6-dev version for mbs?

2009-08-28 Thread hack988 hack988
nobody have a solution for no-unicode php script with MBCS (Multiple Byte Character Set) run on php6? I have an wrong spelling for MBCS in OM.:( 2009/8/27 hack988 hack988 : >  I'm not sure,but one thing is that ,the code save as ANSI format will > throw Parse error in php6. > So

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-28 Thread hack988 hack988
add this php_admin_value open_basedir 2009/8/28 Nico Sabbi : > Hi, > I'm testing one of my sites in safe_mode, but I'm experiencing some > strangeness that is not documented. > > The settings are: > in php.ini: > include_path = > ".:/server/home/apache/php4/:/var/php/5.2/pear/:/usr/php/lib/ezcomp

Re: [PHP] Calling extension function from another

2009-08-28 Thread hack988 hack988
I don't kown your mean,could you descript the question more detail? 2009/8/28 leledumbo : > > Is it possible to call a function that resides in an extension from another > extension? > -- > View this message in context: > http://www.nabble.com/Calling-extension-function-from-another-tp25185839p25

Re: [PHP] Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?

2009-08-28 Thread hack988 hack988
Some Php's tigger info output to client before you set header.try this code first --- ob_start();//first line write this code <<>> header("location:index.php"); ob_end_flush(); --

Re: [PHP]Some body test php6-dev version for mbs?

2009-08-27 Thread hack988 hack988
Yes i kown that. But so many codes, project that i programing or managed is write in gb2312 or some mbs charset.If I change all of them to utf-8 charset,it would cause so many unkown error or some logic error for codes. 2009/8/27 Ashley Sheridan : > On Thu, 2009-08-27 at 20:17 +0800, hack

Re: [PHP]Some body test php6-dev version for mbs?

2009-08-27 Thread hack988 hack988
I'm not sure,but one thing is that ,the code save as ANSI format will throw Parse error in php6. Sometime I don't like script run with unicode because of some system environment limitation. I'm make a spell mistake in before message :( (trow->throw). Any boday have a solution for it? -- PHP Gene

Re: [PHP]Some body test php6-dev version for mbs?

2009-08-27 Thread hack988 hack988
I'm not sure,but one thing is that ,the code save as ANSI format will trow Parse error in php6. Sometime I don't like script run with unicode because of some system environment limitation. 2009/8/27 Ashley Sheridan : > On Thu, 2009-08-27 at 20:03 +0800, hack988 hack988 wrote: >

Re: [PHP]Some body test php6-dev version for mbs?

2009-08-27 Thread hack988 hack988
Nobody Discuss with is title or I'm post to wrong mailing-list? 2009/8/27 hack988 hack988 : > I'm try php6-dev recently.I found it had so many diffrent with older > versions.I'll discuss with everybody in later:) > now i have a problem in php6-dev > > codes follow:(

Re: [PHP] Login should not allow users to login if the application is logged in with the same login credentials

2009-08-27 Thread hack988 hack988
Use Database Online table for user sessions. 2009/8/27 Balasubramanyam A : > Hello, > > I've written a simple application, where users need to login to access the > features of the application. I want to develop login system such that, if > user is already logged in, the application should not all

Re: [PHP] Re: unset() something that doesn't exist

2009-08-26 Thread hack988 hack988
this post is away from the point :),but everyone's reply is interesting 2009/8/27 Paul M Foster : > On Wed, Aug 26, 2009 at 09:52:49AM -0700, sono...@fannullone.us wrote: > >> >> On Aug 26, 2009, at 9:28 AM, Paul M Foster wrote: >> >>> and having a great marriage to a woman I can spend hours talki

[PHP]Some body test php6-dev version for mbs?

2009-08-26 Thread hack988 hack988
I'm try php6-dev recently.I found it had so many diffrent with older versions.I'll discuss with everybody in later:) now i have a problem in php6-dev codes follow:(warning:this code include some no-english characters and it hex string is B2E2 In GBK char-set) ==

[PHP] Some body test php6-dev version for mbs?

2009-08-26 Thread hack988 hack988
I'm try php6-dev recently.I found it had so many diffrent with older versions.I'll discuss with everybody in later:) now i have a problem in php6-dev codes follow:(warning:this code include some no-english characters and it hex string is B2E2 In GBK char-set) ==

Re: [PHP] How to output a NULL field?

2009-08-26 Thread hack988 hack988
I'm sorry for my poor English,what is OP? I don't kown what is OP mean. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to output a NULL field?

2009-08-26 Thread hack988 hack988
Com function is just for Windows,I don't kown why some body like use it.:( 2009/8/27 Andrew Ballard : > On Wed, Aug 26, 2009 at 9:51 AM, David Stoltz wrote: >> Sorry - I don't know what you mean by DB class? >> >> I'm using Microsoft SQL 2000with this code: >> >> > //create an instance of the

Re: [PHP] How to output a NULL field?

2009-08-26 Thread hack988 hack988
Mysql,mssql has its own feature,you can't say Mysql is better than Mssql or Mssql it better than Mysql,Is'nt is? My the Way ,Mssql support Top n,m form mssql 2005 :) 2009/8/27 Andrew Ballard : > On Wed, Aug 26, 2009 at 10:52 AM, Ashley > Sheridan wrote: >> You should try and see if you can get it

Re: [PHP] Re: Directory Listing

2009-08-26 Thread hack988 hack988
use realpath is better that i think 2009/8/26 Steve : > Ashley Sheridan wrote: >> >> On Wed, 2009-08-26 at 09:50 +0100, Tom Chubb wrote: >> >>> >>> 2009/8/26 Ashley Sheridan : >>> On Tue, 2009-08-25 at 17:08 +0100, Tom Chubb wrote: > > I've been playing about more and now I

Re: [PHP] downloading winword & mp3 files the fancy way through a browser

2009-08-26 Thread hack988 hack988
All IE has a bug for download file so.:) see this http://support.microsoft.com/default.aspx?scid=kb;en-us;308090 some unkown mime type also display in IE no popup a download window 2009/8/26 Ryan Cavicchioni : > On Wed, Aug 26, 2009 at 03:38:27PM +0200, Grega Leskov??ek wrote: >> I tried to downlo

Re: [PHP] How to output a NULL field?

2009-08-26 Thread hack988 hack988
t;open($connStr); //Open the connection to the database > > $query = "SELECT * FROM eval_evaluations WHERE id = ".$_POST["eval"]; > > $rs = $conn->execute($query); > > echo $rs->Fields(22); //this is where that particular field is NULL, and > produces the

Re: [PHP] Re: Directory Listing

2009-08-26 Thread hack988 hack988
some code copy from my old codes for truncatedir function,it for backend compatibility. see this PHP_EOL (string) Available since PHP 4.3.10 and PHP 5.0.2 http://cn.php.net/manual/en/reserved.constants.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] How to output a NULL field?

2009-08-26 Thread hack988 hack988
My code for mssql please enable the php's mssql extentions. it used like so many mysql class that you can find by google -- 4.2.0 disable php's automatic datetime convert Class DB {

Re: [PHP] Re: Directory Listing

2009-08-26 Thread hack988 hack988
I'm write a php file for you = define('Line_End', (PHP_OS == 'WINNT')?"\r\n":"\n"); clearstatcache(); $mylist=array(); listdir("F:\\Programming\\Web\\php",$mylist); function listdir($dir,&$list){ if ($handle = opendir( $dir )){ while ( false !== ( $item

Re: [PHP] Re: Directory Listing

2009-08-26 Thread hack988 hack988
your means "Health and Safety Questionnaire"is directory? so you want it display like this full dir path <> filename<>date -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to output a NULL field?

2009-08-26 Thread hack988 hack988
Could you post your database's class to here? I'm use mssql with php for several years and read NULL Fields is never appear your case. 2009/8/26 David Stoltz : > I tried that -it's in the first part of my message > > > -Original Message----- > From

Re: [PHP] How to output a NULL field?

2009-08-26 Thread hack988 hack988
use is_null() check it 2009/8/26 David Stoltz : > Paul, > > This all started because when I try this: > > Fields(22);?> > > It work fine, as long as there is a non-null value there, otherwise it > produces an error. > > Also, I'm working with a Microsoft SQL 2000 database, not MySQLnot > sure

Re: [PHP] Re: Directory Listing

2009-08-26 Thread hack988 hack988
"have a tab inserted in the middle of the path" ??? What it mean,I can't find any diffrent between last one with other rows. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Where to list PHP5.2.8 and PHP5.2.10 known vulnerabilities?

2009-08-25 Thread hack988 hack988
see this https://bugzilla.redhat.com/show_bug.cgi?id=478425 2009/8/26 David Taveras : > I already did see that, but it only lists one single vulnerability > previously stated. Id just want to confirm that is the only one? > > > > On Tue, Aug 25, 2009 at 7:09 PM, Vinicius Pinto wrote: > >> You can

Re: [PHP] Re: page works on public web site, but not on my computer

2009-08-25 Thread hack988 hack988
It Just Deprecated Function used.It mean source code wouldn't work wall based on newer php versions. see this link http://cn.php.net/manual/en/function.eregi.php If you want fix that warning ,replace eregi to preg_match_all and use /s instead. 2009/8/26 mike bode : > I just de-installed, then re-i

Re: [PHP] php cms?

2009-08-25 Thread hack988 hack988
i like durpal or e107 2009/8/26 Lars Nielsen : > tir, 25 08 2009 kl. 17:05 -0400, skrev Bastien Koert: >> On Tue, Aug 25, 2009 at 4:35 PM, Lars Nielsen wrote: >> > Hey list, >> > >> > I am going to use a cms for some sites and I have looked a little at >> > Typo3, Joomla and php-fusion. >> > Can a

Re: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread hack988 hack988
php tigger is right i think. Because of Zend engine parse line by line.(I can't use English give expression to it with My Poor English). It mean that (What I think) unset function is right parse but error for is parameter. Tigger Display :"Warning: Wrong parameter count for unset " what is y

Re: [PHP] unset( $anobject) does not invoce __destruct()

2009-08-24 Thread hack988 hack988
i test your codes again,it is work correctly! But for backends compatibly with older php versions my codes is better :),i'm sorry for my mistake at moment. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_replace anything that isn't WORD

2009-08-24 Thread hack988 hack988
Use preg_replace_callback instead! preg_replace_callback is better performance than preg_replace with /e. - code $str="cats i saw a cat and a dog"; $str1=preg_replace_callback("/(dog|cat|.)/is","call_replace",$str);

Re: [PHP] unset( $anobject) does not invoce __destruct()

2009-08-24 Thread hack988 hack988
see http://cn.php.net/manual/en/language.oop5.abstract.php PHP 5 introduces abstract classes and methods. It is not allowed to create an instance of a class that has been defined as abstract. Any class that contains at least one abstract method must also be abstract. Methods defined as abstract sim