Note that there are some explanatory texts on larger screens.

plurals
  1. POIs curl of php package included in xampp and guide to use appannie
    primarykey
    data
    text
    <p>I have just downloaded the latest xampp and it is my first time to use curl. I have an account in appannie and have read one of the posts here regarding his/her attempt to access appannie.</p> <p>Here is the link of that post: <a href="https://stackoverflow.com/questions/16575242/appannie-api-basic-authentication">Appannie api basic authentication</a></p> <p>Well, to make it simpler here is that code he made:</p> <pre><code>&lt;?php $whmusername = "username"; $whmpassword = "password"; $query = "https://api.appannie.com/v1/accounts"; $ch = curl_init(); // Sets the URL cURL will open curl_setopt($ch, CURLOPT_URL, $query); // Here's the HTTP auth // The 3rd argument is your Twitter username and password joined with a colon curl_setopt($ch, CURLOPT_USERPWD, $whmusername.":".$whmpassword); // Makes curl_exec() return server response curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // And here's the result XML $response = curl_exec($ch); curl_close($ch); // inserted: echo 'hello'; print $response; // inserted: echo 'world'; ?&gt; </code></pre> <p>I tried to use that but nothing happened. So i inserted echo (which i have labeled in the comment) both before and after response to see if my php network is really working and it just displayed:</p> <pre><code>hello world </code></pre> <p>So i was wondering if curl library in xampp and have read this post: <a href="https://stackoverflow.com/questions/2996705/curl-not-working-in-xampp-localhost">curl not working in xampp localhost</a></p> <p>In the comments were the steps but what i found out was the curl in php.ini in php dir is already not in comment form and there was no php.ini in apache dir.</p> <p>And i the 1st post that i referred regarding appannie, i have already change the username into the email account used in appannie.</p> <p>Please any help? Thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload