Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $api_dev_key = "a0dd8b237db119d8388ff6550241c6d5";
- $api_paste_code = "Elsea :: Error(null)";
- $api_option = "paste";
- $api_paste_name = "Elsea :: Error(null)";
- $to_url = "http://pastebin.com/api/api_post.php";
- $url = 'http://pastebin.com/api/api_post.php';
- $ch = curl_init($url);
- curl_setopt($ch, CURLOPT_POST, true);
- curl_setopt($ch, CURLOPT_POSTFIELDS, 'api_option=paste&api_paste_name='.$api_paste_name.'&api_dev_key='.$api_dev_key.'&api_paste_code='.$api_paste_code.'');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_VERBOSE, 1);
- curl_setopt($ch, CURLOPT_NOBODY, 0);
- $response = curl_exec($ch);
- echo $response;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement