PHP and Windows Paths

When using PHP on windows  the temptation is to use windows path format when one is trying to include or require a file. If you decide to do so, you must escape the all backslashes

for example:

$path= 'c:\ycsoftware\library\' will not work on windows.

solution

change it to

$path ='c:/ycsoftware/library/';

or

escape all backslashes with double backslashes

$path='c:\\ycsoftware\\library\\';