I just set-up apache on my windows computer and I'm trying to find out how to turn my absolute path from

Code:
D:/localhost/client
into this:
Code:
/var/www/public_html
The reason why is I have a variable in my php script that stores the absolute path so I don't have to retype it over and over again. The current set up works fine on my includes but when it comes to images it doesn't display the images I keep getting the error

Not allowed to load local resource: ...

But if I remove the "D:/" then the image will load but it won't include the PHP files. I keep getting an error failed to open stream: No such file or directory in ...

So if anyone can help me that would be great and Thank you!