FileObject openForRead problem
by JuanMa · in Technical Issues · 05/05/2006 (11:40 am) · 1 replies
I have been having a problem with the FileObject. Whenever I try to open for read it returns false, I assume I am using the wrong path to the file name, but I have tried all different paths and it still doesn't work.
Here is my code
Thx
Juanma
Here is my code
%level_file = new FileObject();
if (!%level_file.openForRead ( "./.../scripts/lvl_one_bots.txt" )){
echo($CreateBotsError[ $UNABLE_TO_READ ]);
return;
}Anyone have any idea why this is happening?Thx
Juanma
Torque Owner Mark Barner
mbarnatl