PHP root folder

blopexpambill

New Member
\[code\]rename('/images/old_name.jpg', '/images/new_name.jpg');\[/code\]This code gives file not found.Script, where files are called is placed inside \[code\]/source/\[/code\] folder.Files can be opened from \[code\]http://site.com/images/old_name.jpg\[/code\]How to get these files from root?
 
Back
Top