Home » Development » PHP » Seite 13
The JSON spec allows integers, fractional numbers, strings, arrays, but when it comes to dates things are handled differently. There really is no date format in the JSON spec. Would be nice if every JSON date output would conform to ISO8601 :)
Some of these can easily be converted to a PHP timestamp using strtotime(), others require some more magic.
Here is a way to transform the .NET variant, something that has been haunting me in a current project ;)
Due to the wide usage of JSON as an exchange format, I really hope we will see a spec update in the future :)
The Google App Engine has no cURL support, which means that all REST calls need to be executed using file_get_contents.
As Parse REST calls need to be secure, you need to make sure that you send the request with a proper SSL context.
Short example of adding data using the Parse REST API from a Google App Engine application:
Shares & Likes
Simple HTML DOM
Solid class to cleanup, filter and secure html / xml in your projects.
It is a small set of PHP scripts that will allow you to run your own URL shortening service. Have used it internally and for projects in the past.
„This is PHP implementation of QR Code 2-D barcode generator. It is pure-php LGPL-licensed implementation based on C libqrencode by Kentaro Fukuchi.“