Need a PHP-mySQL image upload system

Discussion in 'PHP' started by KingCobra, Nov 17, 2008.

  1. #1
    I need a PHP-mySQL image upload system
    ====================================================

    I will send the folling variables from previous page.

    'item' and 'code'

    Suppose,

    $item = "laptop";
    $code = "LP 256";
    $here = "./images/"; // upload root location specified by me


    YOUR JOB:
    The upload php will create a directory '$here' named '$item' if the directory not exists.
    Then upload image to '$item' directory with renaming '$code.imeagetype'.
    Check new image name for duplication from file dir not from mySql before upload.
    Insert image name '$code.imagetype' only to mysql table.
    Display error or successful confirmation after process.
    Also include image resizing system.


    RESULT:
    The script will create "./images/laptop" dir if not exists.
    Upload image to "./images/laptop/LP 256.jpg"
    Insert "LP 256.jpg" to mysql table

    Please help me...........
     
    KingCobra, Nov 17, 2008 IP
  2. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #2
    contact me for paid script and move it to BST section
     
    crivion, Nov 17, 2008 IP
  3. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #3
    My Job?? Its not my job
     
    ads2help, Nov 17, 2008 IP