I have this coding that goes as follows
//misc variables needed to complete process
$path = $_SERVER['DOCUMENT_ROOT'].'\'.$text[originalpath].'\';
$filename = $path.$mediakey;
I keep getting an error on the second line, what is the correct way to do this. I want it to look like this:
"\www\hroberts*original path*\" and then the next line adds the rest of it, but at this time, I can't get it to add the backslashes properly.
Thanks