How to define path
问题 I know it may be simple question to all experienced developer.. I have trapped with the problem that how to set the path in bootstrap file like ...... when i work on local ... i use this path $filenam = "C:/xampp/htdocs/application/public/pdf_profile/$pdfname.html"; when i upload this particular file... i need to make change ..in this path ..like this $filenam = $_SERVER['DOCUMENT_ROOT']."/public/pdf_profile/$pdfname.html"; i want to know is there any solution to prevent change again n again