auth:ning
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
auth:ning [2012-11-10 14:30] – [Code] 95.161.18.3 | auth:ning [2013-03-01 09:48] – [Installation] 210.55.240.39 | ||
---|---|---|---|
Line 15: | Line 15: | ||
Make sure that the file does not contain empty lines at the beginning and at the end, otherwise you will get PHP warnings. | Make sure that the file does not contain empty lines at the beginning and at the end, otherwise you will get PHP warnings. | ||
+ | |||
+ | **NOTE** | ||
+ | |||
+ | Username and password are sent as plaintext. | ||
+ | |||
+ | function checkDomain($domain) { | ||
+ | $url = " | ||
+ | $curl = curl_init($url); | ||
+ | |||
+ | curl_setopt ($curl, CURLOPT_USERAGENT, | ||
+ | |||
===== Code ===== | ===== Code ===== |