Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Giving Title to photo
  • Is there any possibility of giving title to the uploaded photo. This title value should be taken from textbox. How can i do it. Thanks in advance
  • You'd have to try something like this:
    <input type="text" id="title" name="title" /><br />
    <input type="file" id="file_upload" name="file_upload" />
    <div id="uploader_message"></div>
    <a href="javascript:$('#file_upload').uploadifyUpload();">Upload Files</a>

    $('#file_upload').uploadify({
    'uploader' : 'uploadify/uploadify.swf',
    'script' : 'uploadify/uploadify.php',
    'scriptData' : {'title' : $('#title').val()}
    });

    With $('#title').val() you can retrieve the value of the text-field and place as scriptData which you can access in uploadify.php with:
    $_POST['title']