OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
knoblyExpressLandingPage
/
cream
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
09/23/2024 04:31:31 AM
rwxr-xr-x
📄
.browserslistrc
208 bytes
09/23/2024 04:31:33 AM
rw-r--r--
📄
.gitignore
42 bytes
09/23/2024 04:31:33 AM
rw-r--r--
📄
.htaccess
803 bytes
09/23/2024 04:31:33 AM
rw-r--r--
📄
.htaccess.swp
12 KB
09/23/2024 04:31:33 AM
rw-r--r--
📄
.travis.yml
199 bytes
09/23/2024 04:31:34 AM
rw-r--r--
📁
.well-known
-
09/23/2024 04:31:45 AM
rwxr-xr-x
📁
API
-
09/23/2024 04:31:47 AM
rwxr-xr-x
📄
about.html
3.05 KB
09/23/2024 04:31:34 AM
rw-r--r--
📄
activate.php
2.56 KB
09/23/2024 04:31:34 AM
rw-r--r--
📄
article.php
17.24 KB
09/23/2024 04:31:35 AM
rw-r--r--
📁
arvindfacebook
-
09/23/2024 04:31:50 AM
rwxr-xr-x
📁
audio
-
09/23/2024 04:39:55 AM
rwxr-xr-x
📄
back-dashboard.php
8.33 KB
09/23/2024 04:31:35 AM
rw-r--r--
📄
barticle.php
16.58 KB
09/23/2024 04:31:35 AM
rw-r--r--
📄
bin_article.php
6.62 KB
09/23/2024 04:31:36 AM
rw-r--r--
📄
bnewsletter.php
1.33 KB
09/23/2024 04:31:36 AM
rw-r--r--
📄
bview.php
14.07 KB
09/23/2024 04:31:36 AM
rw-r--r--
📄
contact.html
2.79 KB
09/23/2024 04:31:37 AM
rw-r--r--
📄
dashboard.php
12.06 KB
09/23/2024 04:31:37 AM
rw-r--r--
📄
down.html
1.23 KB
09/23/2024 04:31:37 AM
rw-r--r--
📄
fb_access.php
855 bytes
09/23/2024 04:31:38 AM
rw-r--r--
📄
gen2_1.php
45.17 KB
09/23/2024 04:31:38 AM
rw-r--r--
📄
geo_location.php
3.69 KB
09/23/2024 04:31:39 AM
rw-r--r--
📄
index.html
14 KB
09/23/2024 04:31:39 AM
rw-r--r--
📄
info.php
14 bytes
09/23/2024 04:31:39 AM
rw-r--r--
📄
more.php
7.36 KB
09/23/2024 04:31:40 AM
rw-r--r--
📄
newsletter.php
1.33 KB
09/23/2024 04:31:40 AM
rw-r--r--
📄
old1dashboard.php
8.4 KB
09/23/2024 04:31:40 AM
rw-r--r--
📄
olddashboard.php
11.58 KB
09/23/2024 04:31:40 AM
rw-r--r--
📄
privacy.html
9.99 KB
09/23/2024 04:31:41 AM
rw-r--r--
📄
refund.html
7.34 KB
09/23/2024 04:31:41 AM
rw-r--r--
📄
reset.html
3.01 KB
09/23/2024 04:31:41 AM
rw-r--r--
📄
showcase.php
7.93 KB
09/23/2024 04:31:41 AM
rw-r--r--
📄
signup.html
8.08 KB
09/23/2024 04:31:42 AM
rw-r--r--
📄
splash.html
1.11 KB
09/23/2024 04:31:42 AM
rw-r--r--
📄
test.email.php
2.5 KB
09/23/2024 04:31:42 AM
rw-r--r--
📄
test.php
969 bytes
09/23/2024 04:31:42 AM
rw-r--r--
📄
usage.html
30.88 KB
09/23/2024 04:31:43 AM
rw-r--r--
📄
view.php
12.99 KB
09/23/2024 04:31:43 AM
rw-r--r--
📄
zview.php
16.09 KB
09/23/2024 04:31:43 AM
rw-r--r--
Editing: test.php
Close
<? // Replace these with your actual values $sendyUrl = 'https://knoblycream.com/sendy'; $apiKey = 'J1HDkGVQa1cZ8KvIo98D'; $listId = 'YIKUQ7Eb3206GAgaC1ZkxA'; // Set the data for the API request $data = array( 'api_key' => $apiKey, 'list_id' => $listId, 'subject' => 'Test email subject', 'from_name' => 'Your Name', 'from_email' => 'no-reply@knoblycream.com', 'reply_to' => 'donot-reply@knoblycream.com', 'html_text' => '<p>Test email body</p>', 'plain_text' => 'Test email body' ); // Send the API request using cURL var_dump($data); $ch = curl_init($sendyUrl . '/api/newsletter/send'); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_FAILONERROR, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $result = curl_exec($ch); if (curl_errno($ch)) { echo curl_error($ch); } curl_close($ch);