I noticed in the current stabe release of PN, one could call a PHP class file from a module function e.g.:
Code
function MyMod_user_func() {
include( "modules/MyMod/MyClass.php" );
$myC = new MyClass();
}
include( "modules/MyMod/MyClass.php" );
$myC = new MyClass();
}
My module uses flash as well, so remoting is needed, but now in PN .8, everything is protected (no more die("you can't access this file directly") I'm guessing?) with 644 (not sure if that was the case before, but I never had a problem before). That's all good, but I can't use that class in a pnuser function and don't know how to give permission to the pnuser file (or my .fla file) to access the class file (it's in a specified folder in my module) and chmodding them to 755 doesn't work (isn't really safe either). This might be a newbie question, but could anyone explain how permissions in PN .8 work and how I could fix that problem? Thanks in advance.
edited by: leshaun, Mar 05, 2007 - 06:03 AM
