1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Rep Power
    I have a site where people can upload images. What i want to do is rename the images acording to username etc so that they are easy to manage and won't clash with new images.

    How can i do this in PHP (or otherwise)?

  2. #2
  3. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Perth West Australia
    Rep Power
    $int = rename($filename,$newfilename);

    Simon Wheeler
    FirePages -DHTML/PHP/MySQL

Similar Threads

  1. Image uploading butchering images
    By pablo.gosse in forum PHP Development
    Replies: 6
    Last Post: October 19th, 2003, 09:12 PM
  2. Rename uploaded images
    By camcim in forum PHP Development
    Replies: 1
    Last Post: October 12th, 2003, 09:29 AM
  3. Resizing user uploaded images
    By Ian Griffiths in forum Software Design
    Replies: 0
    Last Post: September 17th, 2003, 02:53 PM
  4. rename uploaded images with set pattern
    By Sotonin in forum PHP Development
    Replies: 2
    Last Post: July 6th, 2003, 01:08 PM
  5. renaming images and copy to server..
    By houseman in forum PHP Development
    Replies: 3
    Last Post: June 28th, 2003, 04:08 PM

IMN logo majestic logo threadwatch logo seochat tools logo