note 36835 deleted from function.getcwd by sniper

From: Date: Tue, 04 Nov 2003 00:18:56 +0000
Subject: note 36835 deleted from function.getcwd by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-59741@lists.php.net to get a copy of this message
Note Submitter: christine @ notdurfter .com ---- // This should work to call a JavaClass function myFunk($id) { if (isset($id) && strlen($id)) { /* change the directory */ chdir(My_JAVAPATH); /* current directory */ logString(getcwd()) $myinsta = new Java('main.myJavaClass'); logString("Assign your JavaProject with ".$id); logString($myinsta->execute(MyJAVAPATH,$id)); logString('execute'); logString($myinsta->getReturnTextValue()); logString('returntext'); logString($myinsta->finalize()); logString('finalize'); return(0); } else { logString(' Please give a valid ID'); return(-1); } }

« previous php.notes (#59741) next »