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
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
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
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
]
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
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();
:[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
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
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
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
', '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
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
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
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
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
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
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
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
18 matches
Mail list logo