How to save a string to S3 using PHP

I recently used Elance to commission the creation of a PHP function that takes a string as input, creates a text file, saves it to S3, and finally returns the URL to the text file.

I’m using this function to create a virtual cookie that essentially gives me infinite storage. It’s pretty darn useful. Rather than bogart this nifty function I’m giving it to you dear Internet comrade. Enjoy! 🙂

This function requires the Amazon Web Services SDK for PHP.

This entry was posted in Web & Software Development. Bookmark the permalink.

One Response to How to save a string to S3 using PHP

  1. kelly hill says:

    i am developing an accomplishment-driven recruiting and social network site for middle school and high school students. My programmer has done the work in php, and i do not know php, so i need to hire someone to load my website into content management system, like word press or similar, so that I can add and delete information without hiring a programmer to do every little thing. maybe you can help? or know someone who can? thank you for your time and consideration. kelly hill 512 767-3322

Leave a Reply

Your email address will not be published. Required fields are marked *