Puzzled Pink
New member
I'm creating a function that moves files from one location to another folder. I'm using the function "rename"(i got this from a thread here)
i'm having Warning that shows:
Warning: rename() [function.rename]: http wrapper does not support renaming in E:\Xampp\xampp\htdocs\wordpress2\wp-content\plugins\nextgen-gallery\view\gallery.php on line 83
this is line 83
$copied3 = rename($oldname, $newname);
anyone here know what's wrong? I'm working in localhost so i can't provide a link for it
thanks in advance for those who help.
i tried changing the file location to see if the function really works and it doesn't
this is the error showing:
Warning: rename(/images/shirt39.jpg,/images/shirt35.jpg) [function.rename]: No error in E:\Xampp\xampp\htdocs\wordpress2\wp-content\plugins\nextgen-gallery\view\gallery.php on line 88
shirt39.jpg is an existing file and shirt35.jpg is supposed to be the result.. but it gives out that error.
can anyone help? Thanks
Thanks, garren, when i tried doing what you did it showed an error so i thought i must have been doing something wrong, and that is when i tried to transfer it out of wordpress, the function worked!
Thanks a bunch.
i'm having Warning that shows:
Warning: rename() [function.rename]: http wrapper does not support renaming in E:\Xampp\xampp\htdocs\wordpress2\wp-content\plugins\nextgen-gallery\view\gallery.php on line 83
this is line 83
$copied3 = rename($oldname, $newname);
anyone here know what's wrong? I'm working in localhost so i can't provide a link for it
thanks in advance for those who help.
i tried changing the file location to see if the function really works and it doesn't
this is the error showing:
Warning: rename(/images/shirt39.jpg,/images/shirt35.jpg) [function.rename]: No error in E:\Xampp\xampp\htdocs\wordpress2\wp-content\plugins\nextgen-gallery\view\gallery.php on line 88
shirt39.jpg is an existing file and shirt35.jpg is supposed to be the result.. but it gives out that error.
can anyone help? Thanks
Thanks, garren, when i tried doing what you did it showed an error so i thought i must have been doing something wrong, and that is when i tried to transfer it out of wordpress, the function worked!
Thanks a bunch.