Changed it to dir but not made any difference. I have root access to the server so could change php.ini.

However

; Safe Mode
;
safe_mode = Off

; By default, Safe Mode does a UID compare check when
; opening files. If you want to relax this to a GID compare,
; then turn on safe_mode_gid.
safe_mode_gid = Off

So not quite sure why there is a phoblem

Ben

At 16:23 09/06/2003 +0200, winst0n wrote:

Ok, I think the php comand opendir is blocked for security reason.

Try with this :

$dp = dir($currdir );

dir() and opendir() are the same for client.

A lot of hostserver disable opendir(), I dont know why, but they do ;)

**************************************************************** * Ben Edwards Tel +44 (0)1179 553 551 ICQ 42000477 * * Webhosting for the masses http://serverone.co.uk * * Critical Site Builder http://www.criticaldistribution.com * * online collaborative web authoring content management system * * Get alt news/views films online http://www.cultureshop.org * * i-Contact Progressive Video http://www.videonetwork.org * * Fun corporate graphics http://www.subvertise.org * * Bristol Indymedia http://bristol.indymedia.org * * Bristol's radical news http://www.bristle.org.uk * ****************************************************************

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to