在cpanel中获取基本路径和基本URL

I am developing a product(web application) in PHP. I need to put it on online. I am using cpanel.

My probelm is:: My code snippet has the following:

$basepath = "/opt/lampp/htdocs/abcd/";
$baseurl = "http://sys6003/abcd/";

I am unable to match this part to live part of cpanel.

cpanel Structure:

/home/account_name/public_html/www.abcd.com(folder)

I've tried too many but I didn't get it. More over I am new to cpanel. Someone, Please Help me.

BaseURL: It is the URL where you will access the file from any computer on the Internet like http://www.Mywebsite.com/Mydirectory/MyFile.html

BasePath: It is the PATH to access files from your "inside" your "Server", it would look something like that /htdocs/Mydirectory/MyFile.html

The way for me to remember the difference between the 2 since I don't use it to often is to tell me: URL is for browsers (like Firefox, Chrome) and PATH is for Applications usually in PHP, JS or HTML usually. You CAN'T call the path from a browser ;-)