AuthorInfo is a php class made for authors on envato, It allows you to easily show your files to prospective customers on your own website. New files are automaticaly be shown without any input from you.
The class allows:
- Fetching of profile information and avatar.
- Loading of file information from marketplaces.
- Storing of data localy, and update every two hours (or whatever expiration you set.)
Get commission by referring new customers.
To test your server configuration run the php code below on your server, it is only a primitive test but it should give a good indication.
echo (!ini_get('allow_url_fopen') == 1 ? '<h2><em>allow_url_fopen</em> must be turned on.</h2>' : '');
echo (!function_exists('file_get_contents') || !function_exists('file_put_contents') ? '<h2><em>file_get_contents</em> and <em>file_put_contents</em> must be available. Ensure you are using PHP5.</h2>' : '');
echo (!function_exists('json_decode') || !function_exists('json_encode') ? '<h2><em>json_decode</em> and <em>json_encode</em> must be available. Ensure you are using PHP 5.2.0 or above.</h2>' : '');
The above php will output messages on failure of the tests, but nothing on success.
Please note that php must be able to write to the cache directory.
Thanks, Joel Vardy.
Stay In The Loop!




