Re: [PHP] Please help with glob

2011-04-05 Thread Al Mangkok
? -- al On Tue, Apr 5, 2011 at 2:25 PM, Louis Huppenbauer louis.huppenba...@gmail.com wrote: Hi there Since glob is actually a part of the core - Are you absolutely sure that you're running PHP 4.3 2011/4/5 Al Mangkok almang...@gmail.com: Hi everyone, I am very new to PHP and trying

Re: [PHP] Please help with glob

2011-04-05 Thread Al Mangkok
someone else will benefit from this post. -- al On Tue, Apr 5, 2011 at 2:49 PM, Al Mangkok almang...@gmail.com wrote: Hi Louis, Yes, I have read that glob is only available for PHP 4.3 and I am using version 5.2.1.7 # /usr/local/bin/php -v PHP 5.2.17 (cli) (built: Feb 16 2011 15:41:35

[PHP] Please help with glob

2011-04-04 Thread Al Mangkok
Hi everyone, I am very new to PHP and trying to learn the glob() function. I copied the example on php.net : ?php foreach (glob(*.txt) as $filename) { echo $filename size . filesize($filename) . \n; } ? When I ran the script, I got this error message: Fatal error: Call to undefined function

[PHP] Connection error expected but ...

2010-05-06 Thread Al Mangkok
Code below from the manual. I changed $ldaphost to some fictitious name. When I ran the script, I always get the message Connection was successful ! Why didn't the script bomb and give the could not connect message? ?php // LDAP variables $ldaphost = ldap.noname.com; // your ldap servers

[PHP] Remote Desktop Management

2010-03-17 Thread Al Mangkok
Hi all, Am looking for Remote Desktop Management system that is written with PHP. Appreciate all feedback. TIA -- al