[PHP] ereg & preg

2003-08-15 Thread Eddy-Das
is there any syntax difference between ereg() and preg() except preg needs / and /? -- - Eddy Wong __ inframatrix internet solutions http://www.inframatrix.com/ ¥¿¤KEddy Regular Octa-Eddy [EMAIL PROTECTED]@ [EMAIL PROTECTED]@¡½¢ª¢© [EMAIL PROTECTED]@[EMAIL PROTE

[PHP] ulimit with php

2003-07-18 Thread Eddy-Das
Does any know how to catch the signal sent to a process called by PHP? eg. $something = `ulimit -t 30 -otherlimit; ./loop_to_death`; ulimit should return something like SIGALRM I use exec() but it only give me the exit code (always 128+9), not the signal.. because i need to know the reason

[PHP] Re: Long lines

2003-07-11 Thread Eddy-Das
i'm not sure if you want to "code in multi line, display in single line" or "code in single line, display in multi line" here gives an example: This will give: 123456789 another example: This will give : abc def xyz another one: this also gives the same as above hope this helps -- -

[PHP] Re: simple ereg() question

2003-07-08 Thread Eddy-Das
ereg(".+") -- - Eddy Wong __ inframatrix internet solutions http://www.inframatrix.com/ ¥¿¤KEddy Regular Octa-Eddy [EMAIL PROTECTED]@ [EMAIL PROTECTED]@¡½¢ª¢© [EMAIL PROTECTED]@[EMAIL PROTECTED]@¡½ É\¿ß¡G [EMAIL PROTECTED] [EMAIL PROTECTED]@¡½ É\¨¦¡G news://news.f

[PHP] php deal with hidden files on win32

2003-03-05 Thread Eddy-Das
is there any function that can 1) check whether a file is hidden (on win32 platform), or, 2) hiden a file thanks a lot!!! -- - Eddy Wong __ inframatrix internet solutions http://www.inframatrix.com/ ¥¿¤KEddy Regular Octa-Eddy [EMAIL PROTECTED]@ [EMAIL PROTECTED]

Re: [PHP] GD Chinese support - php4.3

2003-02-08 Thread Eddy-Das
but even i tried the hong kong local chinese font, it still display the same thing! -- - Eddy Wong __ inframatrix internet solutions http://www.inframatrix.com/ ¥¿¤KEddy Regular Octa-Eddy ¡@¢¨¡½¢ª¡½¢©¡@ ¢¨¢«¡@¡@¡½¢ª¢© ¡½¡@¡@¡@¡½¡@¡½ ¡½¡½¡½¡@¡½¡@¡½ ¡½¡@¡@¡@¡½¡@¡½

[PHP] GD Chinese support - php4.3

2003-02-07 Thread Eddy-Das
any one know how display Chinese Characters (tradition or simplified) in GD.? is that something deal with multibyte functions...? i have installed the bundled GD and Libjpeg they all worked perfectly with english words but when i generate a Chinese character, it just display two symbols i've