Hi,
I have a small problem. I am transferring a PHP program that runs under Unix to a Windows version.
The problem I'm having is that I don't know how to translate the pathnames from Unix to Windows. For instance:
if (isset($picture))
{
move_uploaded_file($picture, "/www/images/$picture_name");
}
This one works fine, but when I try to translate it to:
if (isset($picture))
{
move_uploaded_file($picture, "images\$picture_name");
}
it just won't work!! :mad:
I even tried to use "images\$picture_name", but even that won't work. :mad:
What am I doing wrong here? 😕
I'm sure it's a small thing to solve, but these small things are easy to oversee, aren't they?
I hope you can help me out. Thanks a million in advance.