I used rename() to rename a PNG file... and it did change the name. It also erases eveything, the file is 0 bytes. HOW can you rename something without delting it!??!?!??!
It should not erase the file.
Please provide an example filename/URL.
Be sure you do not have another file with the same name.
Thank you,
FreePgs.com Admin
Quote from: admin on November 30, 2005, 04:18:17 PM
It should not erase the file.
Please provide an example filename/URL.
Be sure you do not have another file with the same name.
Thank you,
FreePgs.com Admin
Turns out I'm just an idiot. I was opening the file with fopen() before and I accidentlay wrote over it. The file was curropt to begin with I just thought it was rename. It works now, sorry.