note 36835 added to function.getcwd
| From: | christine at notdurfter dot com | Date: | Fri, 24 Oct 2003 06:38:38 +0000 |
| Subject: | note 36835 added to function.getcwd | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59202@lists.php.net to get a copy of this message | ||
// 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);
}
}
----
Manual Page -- http://www.php.net/manual/en/function.getcwd.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36835
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36835&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36835&report=yes
Search -- http://master.php.net/manage/user-notes.php