jQuery, PHP, Ajax Upload Help

Discussion in 'Programming' started by GeelongTECH, Feb 4, 2011.

  1. #1
    Hello,
    I am making a form and currently they need to enter the url of the image, but i need it so they can just upload the image, but using jQuery, PHP and Ajax.

    The code must set the value of <input type="hidden" name="small_img_url" id="small_img_url" value="" /> with the url of the upload image.

    The image will be uploaded to "/home/acc1/public_html/images/small/" witch is viewed at http://example.com/images/small/

    Only one image is needed so, i need them to only be able to upload one image.

    Thanks,
    Chris
     
    GeelongTECH, Feb 4, 2011 IP