Recently i needed to make a ringtone download website for a friend and we researched on web for a good affiliate with a decent API to make things easier for content download and integration on website.
We ended choosing OpenDada.com which is a affiliate website for dada.net , Dada.net is a premier provider for providing ringtones and other mobile content.
The API documentation for OpenDada can be found at API docs page .
There are four methods that are defined in the class, Namely they are:-
display_single_ringtone(“ARTIST NAME”, “SONG TITLE”);
All methods are explained in the example.php file and can be found here.
1) Add functionality to get more than 10 ringtones.
2) Put the
3) Add option of inserting partner id
Will update the class with more functionality sooner.
Debugging PHP code is a nightmare for all Php developers and these are the times when they miss the thread functionality like java in php, However some simple php debugging techniques can help y0u to code faster and thus save very valuable coding time.
These all debugging techniques are based on my experience and i would love to know what more techniques php programmers use for debugging there php code !, Please comment below and share with community if you know a secret weapon in php code debugging.
So , My 5 debugging tips are (in no particular order):-
Continue reading 5 important tips for Debugging PHP Code
Wamp and XAMPP doesn’t come with default rewrite rule enabled, For enabling the rewrite rules in both of them you need to make changes in httpd.conf so that apache can work with rewrite rules.
For enabling the rewrite rules follow these rules:-
1) find httpd.conf (usually this file can be found in folder callled conf , config or something along those lines)
Web 2.0 was all about mashups and data api’s !, Some of the popular ones are google search api , twitter api etc.
All API’s have some rate-limiting , For example Twitter API has a rate limit of 150 requests per hour ! , Yahoo API and Google API’s have a daily limit on their requests.
The ultimate method of getting over this API request limit is to make a cache method which stores all data that is coming from API , Which you can refresh hourly, weekly or daily !
Continue reading Creating a cache file in php for API requests
In my opinion one of the top most API’s used globaly on web portals is Google Search API, Google is famous for building world class API’s to harness the unique data Google collected with it’s excellent set of technology.
Google Labs is the ultimate playground of Google which he use for developing and testing there upcoming API’s , They have some exciting set of API’s currently in building. Which promise better web and can provide better value than Google Maps and Google Search API’s
I bought a few domains lately and found these godaddy coupon code to buy the domains in 6.99 USD. Hope this helps some of our fellow developers.
6.99 .com Domain, Coupon Code:- goaz2001ai
6.99 .com Domain, Coupon Code:- goaztk03a
A lot of times i have seen newbies and even PHP pros struggling to find any method of implementing zipcode and country lookup !
This can be easily achieved with the help of Maxmind Geo API, They provide a exhaustive DB lookup functionality of IP adress . Which can be further translated into City, Country and Zipcode information ! . This API prove to be very useful in the web apps which require providing user specific content to the users.
Continue reading City , Country and zipcode lookup via Ip address in PHP