One more thing… I tried the exact code u have provided and it prompted me for selecting pictures. after that it showed, pictures uploaded successfully…where they were uploaded?
and how can i modify the address where i want to upload the pictures?..
i am newbie in this..please help.

Did you not read the comments? Photo upload code is not provided here just I provided some comments. Because, php upload code and amazon s3 upload codes are different. So learn it and implement as yourself. PHP file upload code is very easy…

thank you sir for your reply…
i have understood the php uploading system now…
thanks a lot for that…
but how can i use those photos.upload, photos.createAlbum, photos.addTag in this uploader??
like the application “My Top Fans” does in facebook…
they create an album in user’s photo directory and name it…how do they do that??? i am able to do that with the old sdk…but with the new sdk i am unable to implement those…please help…