
Skip to: site menu |main content
Welcome to my personal site. If You have any question or suggestion please feel free to contact me from contact page.
PHP function move_uploaded_file — Moves an uploaded file to a new location. This function checks to ensure that the file designated by filename is a valid upload file (meaning that it was uploaded via PHP's HTTP POST upload mechanism). If the file is valid, it will be moved to the filename given by destination .
This sort of check is especially important if there is any chance that anything done with uploaded files could reveal their contents to the user, or even to other users on the same system. This function returns TRUE on success, or FALSE on failure.
Syntax
--updated added code also--
you can define template for your form in template.php
/**
* @desc ex
*/
function inderin_theme() {
$themes= array(
'user_register' => array(
'template' => 'user-register',
'arguments' => array('form' => NULL)
),
);
return $themes;
}InderSingh.com v1.2
(May 21, 2012)
Recent comments
17 weeks 12 hours ago
17 weeks 12 hours ago
17 weeks 12 hours ago
1 year 16 weeks ago
1 year 16 weeks ago
1 year 16 weeks ago
1 year 32 weeks ago
1 year 33 weeks ago
1 year 35 weeks ago
1 year 39 weeks ago