[PHP] Array has `trailing comma`, why not the same for function parameter list?

2011-10-30 Thread Nam Gi VU
It is convenient to have a trailing comma when defining an array - so as easy to add/remove code to add/remove an entry to the array array( 'key00' = 'value00', 'key01' = 'value01', 'key02' = 'value02', ... ) I suggest to PHP Development team to make it available in the syntax to

[PHP] How to know the path of `php.ini` used when call php.exe from CLI/command-line in Windows 7

2011-10-11 Thread Nam Gi VU
Hi every one, Currently when I call php --ini from CLI, I just see C:\Windows but search for this location, I cannot find any php.ini files. I'm stuck there - where is the php.ini file used by php.exe called from CLI as below *C: php --ini* Hope to hear from you! Regards, Nam

Re: [PHP] book quest

2011-09-29 Thread Nam Gi VU
I'm a newbie in PHP technology and what I started with PHP was googling for PHP + ~tutorial ~getting started which results as this page http://www.google.com.vn/search?aq=fgcx=wsourceid=chromeie=UTF-8q=PHP+%2B+~tutorial+~%22getting+started%22 From that list, I can have almost all kind of beginner

Re: [PHP] Re: [EasyPHP] How to export and import `alias` from previous version of EasyPHP?

2011-08-31 Thread Nam Gi VU
Dear Danial, I saw some update on EasyPHP via this group so I just thought to receive support as well as such advertisement. I'm sorry to spam this group. Regards. On Mon, Aug 29, 2011 at 7:26 PM, Daniel Brown danbr...@php.net wrote: On Sun, Aug 28, 2011 at 07:10, EasyPHP

[PHP] [EasyPHP] How to export and import `alias` from previous version of EasyPHP?

2011-08-28 Thread Nam Gi VU
Hi every one, At the moment when installing new version of EasyPHP on my Windows 7 OS, I've got to re-add the alias on my machine which is a boring process since I have teens of project running on my machine. I'm looking for way to export alias(es) in old version and use them to import into new

Re: [PHP] PhpMyAdmin in EasyPHP cannot run DROP DATABASE

2011-08-25 Thread Nam Gi VU
Hi Bastien, I've create new user but cannot find where to log out to change logged-in user. This is strange... On Thu, Aug 25, 2011 at 12:32 AM, Bastien Koert phps...@gmail.com wrote: On Wed, Aug 24, 2011 at 1:30 PM, Nam Gi VU nam.gi...@gmail.com wrote: Thanks Bastien for your suggestion

Re: [PHP] PhpMyAdmin in EasyPHP cannot run DROP DATABASE

2011-08-25 Thread Nam Gi VU
And in which section Bastien. Please be more specific. On Fri, Aug 26, 2011 at 11:14 AM, Bastien phps...@gmail.com wrote: On 2011-08-26, at 12:05 AM, Nam Gi VU nam.gi...@gmail.com wrote: Hi Bastien, I've create new user but cannot find where to log out to change logged-in user

Re: [PHP] PhpMyAdmin in EasyPHP cannot run DROP DATABASE

2011-08-24 Thread Nam Gi VU
Thanks Bastien for your suggestion. Though, I use the `root` account with `All privileges' but it still not allowing me to call `drop database'. What should I do next? On Wed, Aug 24, 2011 at 6:25 PM, Bastien phps...@gmail.com wrote: On 2011-08-23, at 6:44 AM, Nam Gi VU nam.gi...@gmail.com

[PHP] PhpMyAdmin in EasyPHP cannot run DROP DATABASE

2011-08-23 Thread Nam Gi VU
Hi every one, When trying to run my database script with `drop database` command, the server refuse and said as below screenshot. What should I do to enable this command? Regards, Nam [image: image.png]

Re: [PHP] Upgrade or Die?

2011-06-24 Thread Nam Gi VU
Dear James, In case you love Chrome that much, be sure you not using its `remember password` feature or any one else share using your PC/laptop will see it super-easily! Nam On Sat, Jun 25, 2011 at 12:30 AM, ja...@nixsecurity.org wrote: Chrome. Enough said. Now, if we can only convince the

Re: [PHP] How to PHP get bit depth of a given PNG image file?

2011-06-16 Thread Nam Gi VU
Thank you Mattias, I'll look at `channels` again. Regards, Nam On Thu, Jun 16, 2011 at 1:06 PM, Mattias Thorslund matt...@thorslund.uswrote: On 06/15/2011 10:11 PM, Nam Gi VU wrote: Hi everyone, In PHP code, given an .png image path, I need to detect the bit-depth of that image. How

[PHP] How to PHP get bit depth of a given PNG image file?

2011-06-15 Thread Nam Gi VU
Hi everyone, In PHP code, given an .png image path, I need to detect the bit-depth of that image. How can I do that? I've tried to use getImageSize() and read the bits as below sample code but it always returns '8' for 24-bits/32-bits image. Please help. class Utils { //Ham de lay bits