Create Photo Album in PHP

Last post 10-10-2007 2:13 AM by BarryR. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-10-2007 1:19 AM

    Create Photo Album in PHP

    Hi,

                    I would like to create a photo album by importing albums created with orkut ,bebo .. . Is there any way to upload multiple files at a time without looping it. I think looping is little bit tough because after uploading files nirvanix will redirect to a specified url. So another request will be generated for next file.

                    Hope you would understand my problem. Can u help me to solve out this problem .... please....

                            It is very easy to do that with Amazon S3 . But I prefer Nirvanix ...I am using REST method..

     

     Thanks in advance

      

     
     

      

     

    Filed under:
  • 10-10-2007 2:13 AM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 614

    Re: Create Photo Album in PHP

     There are a few options you can do, if you are using http upload through a web browser you can pass in as many files as you like this would look like:

    <body>
    <form ENCTYPE="multipart/form-data" action="Upload.ashx" method="post">
    <LABEL for="uploadToken">Upload Token: </LABEL>
    <input type="text" name="uploadToken" title="Upload Token"/><br>
    <LABEL for="destFolderPath">Upload Folder: </LABEL>
    			<input type="text" name="destFolderPath" title="Upload Folder"/><br>
    <LABEL for="forwardingUrl">Forwarding URL: </LABEL>
    <input type="text" name="forwardingUrl" title="Forwarding URL"/><br>
    <LABEL for="uploadFile1">File: </LABEL>
    <input type="file" name="uploadFile1"/><br>
    <LABEL for="uploadFile2">File: </LABEL>
    <input type="file" name="uploadFile2"/><br>
    		<LABEL for="uploadFile3">File: </LABEL>
    <input type="file" name="uploadFile3"/><br>
    <input type="submit" value="Upload"/>
    </form>
    </body>

     

     The limitation with http is the maximum size of 2gb TOTAL (not per file but the entire transaction including headers).

    Let me know if this doesn't answer your question.

    Regards,
        Barry R.
     

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
    Filed under: , ,
Page 1 of 1 (2 items)