Everything goes well and I got my admission sucessfully.But troubles go on and on
-
Recent Posts
Recent Comments
Archives
Categories
Meta
Everything goes well and I got my admission sucessfully.But troubles go on and on
Oh, jesus, It cost me about half a year to prepare for the application for master study in Germany.
Now I want to share some details with you.
At first , If your native language is not english, you should take IELTS or TOELF to identify your
language ability;
Second,Try to obtain the references(score transcript , graduation certification , entrance exam report,diploma certification and so on) from University ;
Third,prepare for APS which require you to verify your references in your local government institute, which will take more than one or two months.Be patient and earlier to deal with it.
Forth,Apply for the univesity you like and deliver the documents copied to the school office.
These days I encountered a difficult problem that was how to upload images in Zend Framework.
In our project I saw one developer stored the images in the database , however, which would cost
a lot of memory. Tranferring the file to server must be an efficient way to solve it.It is as easy as you
can think.
There is a form (Zend_Form) for submitting , just put the image field like this:
$image = new Zend_Form_Element_File( ‘image’ );
$image->setDestination(PUBLIC_PATH . ‘/image/qq/’);
Pay attentions to the setDestination function which is key point in order to
set the folder to recieve the uploaded files.
Fixing the access control accourding to the user or group:
add the $this->checkModAccess($name, $MCONF) in class.t3lib_loadModules.php:
if (is_array($GLOBALS['TBE_MODULES']['_configuration'][$name]['configureModuleFunction'])) {
$obj = $GLOBALS['TBE_MODULES']['_configuration'][$name]['configureModuleFunction'];
if (is_callable($obj)) {
//2010-12-09 ham.bao fix the access control of extbase extension
$config = $GLOBALS['TBE_MODULES']['_configuration'][$name]['config'];
// Fill $MCONF
$MCONF['name'] = $key;
$MCONF['access'] = $config['access'];
$MCONF['script'] = ‘_DISPATCH’;
if($this->checkModAccess($name, $MCONF)){
return call_user_func($obj, $name, $fullpath);
}else{
return false;
}
//2010-12-09 ham.bao fix the access control of extbase extension
//return call_user_func($obj, $name, $fullpath);
}
}
Then edit the user record and add the key of the extension you want the user can access
What do you think about ? Any good solutions?