I am including this php file,
PHP Code:
<?php include '../db/conn.php'?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="/masterasp/css/style.css">
which works here,
http://fixmysite.us/masterasp/providers/
But doesn't here,
http://fixmysite.us/masterasp/register.php
I guess its because of this
PHP Code:

<?php include '../db/conn.php'?>
How do I change the path so its path would vary depending on what directory im in on my server?

Thanks