hobojjr Posted September 3, 2006 Share Posted September 3, 2006 get this error "Call to a member function on a non-object"at this line$d=dir(getcwd());while (false !== ($entry = $d->read())) {what gives? Quote Link to comment Share on other sites More sharing options...
Barand Posted September 3, 2006 Share Posted September 3, 2006 Does[code]echo getcwd();[/code]give a value? Quote Link to comment Share on other sites More sharing options...
onlyican Posted September 3, 2006 Share Posted September 3, 2006 I think getcwd required chmod settings to high (755 or 777)Try this as well Quote Link to comment Share on other sites More sharing options...
Jenk Posted September 4, 2006 Share Posted September 4, 2006 read the manual on getcwd() - namely the return type. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.