What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-10-04 02:54:03
how to confirm sns subscription https php
<?php $json_write_to_text = file_get_contents("php://input"); //read the raw data $json_write_to_text = json_decode($json_write_to_text, TRUE, 512, JSON_OBJECT_AS_ARRAY); if($json_write_to_text['Type'] == SubscriptionConfirmation) { $curl ... Add solution -
PHP 2021-09-28 19:20:02
how to send notification to android from php
<?php // Replace with the real server API key from Google APIs $apiKey = "your api key"; // Replace with the real client registration IDs $registrationIDs = array( "reg id1","reg id2"); // Message to ... Add solution -
PHP 2021-09-28 07:38:04
get user info by email auth0
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://YOUR_DOMAIN/api/v2/users-by-email?email=USER_EMAIL_ADDRESS", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS =>... Add solution -
PHP 2021-09-14 06:50:02
php curl with headers
$ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"http://www.example.com/process.php"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS,$vars); //Post Fields curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $headers = [ ... Add solution -
PHP 2021-09-09 23:31:02
php didscord webhook
<?php //2021 current working model $url = "https://discordapp.com/api/webhooks/0000000/ABCDEFGH...."; // security issue with this being false not tested ?? curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $hookObject = json_encode([ /* ... Add solution -
PHP 2021-09-02 18:27:02
currency convertor in php
<?php /////for current update currency using api///// $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://api.exchangeratesapi.io/latest?base=USD", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING =>... Add solution
Best helpers
Ranking is empty