Skip to content

Commit

Permalink
add key
Browse files Browse the repository at this point in the history
  • Loading branch information
smowtion committed Nov 6, 2014
1 parent 1c7529e commit 601ae12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demo_xml.php
@@ -1,11 +1,12 @@
<?php
$response_format="xml";
$key='demo';
$link="http://www.mediafire.com/?wfghxg5x7d159x8";
$api = 'http://api.urlchecker.net/';
$ch = curl_init($api);

curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, "response_format=$response_format&link=$link");
curl_setopt($ch, CURLOPT_POSTFIELDS, "response_format=$response_format&key=$key&link=$link");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_NOBODY, 0);
Expand Down

0 comments on commit 601ae12

Please sign in to comment.