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

    Join Date
    Jul 2000
    Posts
    18
    Rep Power
    0
    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)?

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

    Join Date
    Feb 2000
    Location
    Perth West Australia
    Posts
    757
    Rep Power
    15
    $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, 10:12 PM
  2. Rename uploaded images
    By camcim in forum PHP Development
    Replies: 1
    Last Post: October 12th, 2003, 10:29 AM
  3. Resizing user uploaded images
    By Ian Griffiths in forum Software Design
    Replies: 0
    Last Post: September 17th, 2003, 03:53 PM
  4. rename uploaded images with set pattern
    By Sotonin in forum PHP Development
    Replies: 2
    Last Post: July 6th, 2003, 02:08 PM
  5. renaming images and copy to server..
    By houseman in forum PHP Development
    Replies: 3
    Last Post: June 28th, 2003, 05:08 PM

IMN logo majestic logo threadwatch logo seochat tools logo