I have a file upload form and some codes are here;
..............................
$where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));
$message="
your file: ".$where_form_is."../files/".$image_list[2]."
";
$message = stripslashes($message);
..............................
i upload filename.pdf file
but at incoming email i cant see the full link of uploaded file
instead i see the following;
your file: [url]http://../files/filename.pdf[/url]
i.e. ;
".$where_form_is."../ gives [url]http://../[/url] instead of the path of the upload form.
where is the problem ?
thanks