It looks like you're new here. If you want to get involved, click one of these buttons!
Hello !
first, great job !
My question is on the upload file. Indeed, when i receive the mail, i would like a link for acceed at the repertory where the file upload is.
i have changed a little bit the code in the form_processor.php
function get_file_name($element) {
return(($_GET[$element.'_name'])?'<a href="mysite.com/uploads/'.$element.'/">see</a>'.ltrim($_GET[$element.'_name']):$_GET[$element]);
}
but, i am blocked because the name of file is not include.
Have you a solution for this ?
Thank you.
Please try this:
function get_file_name($element) {
$name_and_size = $_GET[$element.'_name'];
$name = substr($name_and_size,0,strpos($name_and_size,','));
return(($_GET[$element.'_name'])?'<a href="mysite.com/uploads/'.$element.'/'.$name.'">see</a> '.ltrim($_GET[$element.'_name']):$_GET[$element]);
}