Hello.
I am trying to upload image files from client onto relative path by following method
copy($userfile,"/images/$userfile_name");
the copy method works fine. but i cannot find the uploaded image in the images folder. It does not show any error message like unable to copy or that sort. This code works if i use abosolute path like c:\inetpub\wwwroot\mysite\images\myimage.jpg.But i want it to be done through relative path.
Thanks