OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
3-31-025chanakya
/
sendy
/
includes
/
helpers
/
integrations
/
zapier
/
actions
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/26/2025 04:23:36 AM
rwxr-xr-x
📄
create-send-campaign.php
1.88 KB
03/26/2025 04:23:36 AM
rw-r--r--
📄
functions.php
700 bytes
03/26/2025 04:23:36 AM
rw-r--r--
📄
subscribe.php
656 bytes
03/26/2025 04:23:36 AM
rw-r--r--
📄
unsubscribe.php
555 bytes
03/26/2025 04:23:36 AM
rw-r--r--
Editing: subscribe.php
Close
<?php include('functions.php'); include('../../../../config.php'); //Get raw body POSTed by Zapier if (!isset($HTTP_RAW_POST_DATA)) $HTTP_RAW_POST_DATA = file_get_contents('php://input'); //Format JSON data $obj = json_decode($HTTP_RAW_POST_DATA); $api_key = $_GET['api_key']; $list = $obj->{'list'}; $name = $obj->{'name'}; $email = $obj->{'email'}; $app_path = APP_PATH; //Subscribe $postdata = http_build_query( array( 'api_key' => $api_key, 'name' => $name, 'email' => $email, 'list' => $list, 'boolean' => 'true' ) ); $result = file_get_contents_curl_post($app_path.'/subscribe', $postdata); ?>