[PHP] Traverse directory - Find empty directory

2008-02-28 Thread Holografix
Hi I'm using Spl RecursiveDirectoryIterator to traverse a directory and have no problem with it but now I'm stuck. I only need to display directories with no files in it. Can someone help with this? My current code: set_time_limit(0); $files = new RecursiveIteratorIterator(new

Re: [PHP] Traverse directory - Find empty directory

2008-02-29 Thread Holografix
Jim Lucas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Holografix wrote: Hi I'm using Spl RecursiveDirectoryIterator to traverse a directory and have no problem with it but now I'm stuck. I only need to display directories with no files in it. Can someone help with this? My

[PHP] PHP and Java: accessing Java classes from PHP

2007-07-27 Thread Holografix
Hi I need to access some custom and native Java classes from php. I've tried the steps form php manual and php-javabridge from sf but I always get an apache crash. I don't need to run servlets and it's impossible to start servlet engine in the server (project requirements). The tutorials i've

Re: [PHP] PHP and Java: accessing Java classes from PHP

2007-07-27 Thread Holografix
very long] but you can get the source here http://php-java-bridge.sourceforge.net/pjb/. -nathan On 7/27/07, Holografix [EMAIL PROTECTED] wrote: Hi I need to access some custom and native Java classes from php. I've tried the steps form php manual and php-javabridge from sf but I always

Re: [PHP] PHP and Java: accessing Java classes from PHP

2007-07-31 Thread Holografix
] On Fri, July 27, 2007 10:31 am, Holografix wrote: I need to access some custom and native Java classes from php. I've tried the steps form php manual and php-javabridge from sf but I always get an apache crash. I don't need to run servlets and it's impossible to start servlet engine

[PHP] Sessions - Ini settings and timeout

2007-10-17 Thread Holografix
I have some questions about sessions timeout and sessions ini settings. In php.ini I have session.gc_maxlifetime = 30 (for testing purpose only) , session.gc_probability = 1 and session.gc_divisor = 100 (didn't touch this values) I have two simple pages page1.php - session_start();

Re: [PHP] Sessions - Ini settings and timeout

2007-10-17 Thread Holografix
:[EMAIL PROTECTED] 2007. 10. 17, szerda keltezéssel 11.58-kor Holografix ezt írta: I have some questions about sessions timeout and sessions ini settings. In php.ini I have session.gc_maxlifetime = 30 (for testing purpose only) , session.gc_probability = 1 and session.gc_divisor = 100 (didn't

Re: [PHP] Sessions - Ini settings and timeout

2007-10-18 Thread Holografix
Many thanks again Zoltán. It's working nice now. Best regards holo Zoltán Németh [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 2007. 10. 17, szerda keltezéssel 15.10-kor Holografix ezt írta: Many thanks Zoltn. It's clear now One more thing: session.cookie_lifetime defaults

Re: [PHP] Sessions - Ini settings and timeout

2007-10-18 Thread Holografix
AM, Holografix [EMAIL PROTECTED] wrote: I have some questions about sessions timeout and sessions ini settings. In php.ini I have session.gc_maxlifetime = 30 (for testing purpose only) , session.gc_probability = 1 and session.gc_divisor = 100 (didn't touch this values) I have two

[PHP] Re: phpDesigner 2008?

2008-11-18 Thread Holografix
Hi I tried PHPDesigner some time ago. It's not bad but now I'm using Netbeans and it's a good editor: http://www.netbeans.org/ (it's free!) Best regards, Holo Waynn Lue [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] I know the IDE wars spring up occasionally, but looking

[PHP] PDO Error

2005-07-14 Thread Holografix
', 'pass'); $stmt = $dbh-query(SELECT * FROM foo); $rows = $stmt-fetchAll(); $count = count($rows); foreach ($rows as $row) { print_r($row); } $stmt = null; Wht's wrong with the example? Greetings holografix -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] PDO Error

2005-07-15 Thread Holografix
Hi Marek It's print_r($row), not print_r($stmt) ;) Marek Kilimajer [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Holografix wrote: Hi. When using this example from http://netevil.org/talks/index.php?t=pdos=20, the site of pdo's author I have this error: Fatal error

Re: [PHP] PDO Error

2005-07-15 Thread Holografix
be $rows=$dbh-fetchAll(); $rows = $stmt-fetchAll(); $count = count($rows); foreach ($rows as $row) { print_r($row); } $stmt = null; Wht's wrong with the example? Greetings holografix -- Regards Georgi Ivanov -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] PDO Error

2005-07-15 Thread Holografix
print_r($stmt) prints nothing. print($stmt) print nothing too. I checked errorCode() and it prints . Marek Kilimajer [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Holografix wrote: Hi Marek It's print_r($row), not print_r($stmt) ;) That's what I'm asking - If you put

Re: [PHP] PDO Error

2005-07-15 Thread Holografix
PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Holografix wrote: print_r($stmt) prints nothing. print($stmt) print nothing too. I checked errorCode() and it prints . Then it seems $stmt is false. var_dump() is more verbose about it. Marek Kilimajer [EMAIL PROTECTED] escreveu na

[PHP] Re: PHP 5.0.4 on AMD64

2005-08-05 Thread Holografix
Hi Take a look here: http://forums.fedoraforum.org/showthread.php?t=59163 I had that problem too. Regards holografix Joseph Oaks [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] So, heres the deal, I'm running Fedora Core 3 on an dual proc AMD64 system. I have compiled

[PHP] Re: MySql connection error on win XP for script that works on Freebsd 5.3

2005-10-26 Thread Holografix
Hi See this http://dev.mysql.com/doc/refman/5.0/en/old-client.html Best regards Vizion [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] I have just installed MySql on Win XP and am attempting to run a php script to create some databases. The script works fine on FreeBSD 5.3

[PHP] pdf_open_memory_image - call to undefined function

2005-12-11 Thread Holografix
Hi I have php_pdf.dll enabled in php.ini. I've downloaded this extension from pecl4win.php.net - php 5.1.1 (I'm using php-5.1.2-dev snapshot) The extension is loaded. phpinfo() reports it: PDF Support enabled PDFlib GmbH Version 5.0.3 PECL Version 2.0.5 Revision