Friday, March 20, 2015
Thursday, March 19, 2015
Online Form Template | Wufoo
Want to know how your customers feel about your company or product? Use one of our many survey form templates to create surveys to easily receive and analyze customer and respondent sentiment and feedback. You can even customize your survey form to fit your needs. All without having to create a survey form from scratch.
Online Form Template | Wufoo
Online Form Template | Wufoo
Monday, March 16, 2015
Using the Mega API, with PHP examples!
Here we are! I finally found the time to clean up my PHP experiments and write a PHP version of my first article explaining how to use the Mega API. I actually wrote the PHP version before the Python version, because I was learning Python and wanted to play around with the API with a language I know well before switching to Python. I will follow exactly the same structure as the Python version; just replacing the Python examples by PHP code.
For those who didn’t read my first article, let’s start with some reminders about the Mega API. It is based on a simple HTTP/JSON request-response scheme, which makes it really easy to use. Requests are made by POSTing the JSON payload to this URL:
https://g.api.mega.co.nz/cs?id=sequence_number[&sid=session_id]
Where sequence_number is a session-unique number incremented with each request, and session_id is a token identifying the user session.
The JSON payload is an array of commands:
[{'a': 'command1', 'param1': 'value1', 'param2': 'value2'}, {'a': 'command2', 'param1': 'value1', 'param2': 'value2'}]
We will only send one command per request, but we still need to put it in an array. The response is either a numeric error code or an array of per-command return objects (JSON-encoded). Since we only send one command, we will get back an array containing only one return object.
Click HERE for more details...
For those who didn’t read my first article, let’s start with some reminders about the Mega API. It is based on a simple HTTP/JSON request-response scheme, which makes it really easy to use. Requests are made by POSTing the JSON payload to this URL:
https://g.api.mega.co.nz/cs?id=sequence_number[&sid=session_id]
Where sequence_number is a session-unique number incremented with each request, and session_id is a token identifying the user session.
The JSON payload is an array of commands:
[{'a': 'command1', 'param1': 'value1', 'param2': 'value2'}, {'a': 'command2', 'param1': 'value1', 'param2': 'value2'}]
We will only send one command per request, but we still need to put it in an array. The response is either a numeric error code or an array of per-command return objects (JSON-encoded). Since we only send one command, we will get back an array containing only one return object.
Click HERE for more details...
Monday, March 2, 2015
3 Days in New Delhi: Travel Guide on TripAdvisor
New Delhi is India's vibrant, bustling metropolitan capital. While 3 days isn't much time in which to explore this sprawling metropolis, my tips will help you squeeze in as many of the city's highlights as possible.
Click HERE for more dertails...
Click HERE for more dertails...
How to Take an MP3 File and Delete the Words to Create Karaoke
Do you need music for your Karaoke party, or just want to sing along to your favorite song without those pesky singers getting in your way? We'll show you a couple ways to find or make background tracks to minimize or eliminate the vocals.
Click HERE for more details...
Click HERE for more details...
Subscribe to:
Posts (Atom)