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.


change it to

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


escape all backslashes with double backslashes