I hereby claim:
- I am menjxo on github.
- I am menjxo (https://keybase.io/menjxo) on keybase.
- I have a public key ASCbuB7b9TlyDtaON4ANawPIhP4Lq0YRxS8bwrQfUE0Bcwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Verifying my Blockstack ID is secured with the address 1N7iPNbsgDMAeWjAYuqfpw98SP8kj1WmUr https://explorer.blockstack.org/address/1N7iPNbsgDMAeWjAYuqfpw98SP8kj1WmUr |
Verifying my Blockstack ID is secured with the address 1N7iPNbsgDMAeWjAYuqfpw98SP8kj1WmUr https://explorer.blockstack.org/address/1N7iPNbsgDMAeWjAYuqfpw98SP8kj1WmUr |
<?php | |
//======================================================================================================= | |
// Create new webhook in your Discord channel settings and copy&paste URL | |
//======================================================================================================= | |
$webhookurl = "YOUR_WEBHOOK_URL"; | |
//======================================================================================================= | |
// Compose message. You can use Markdown | |
// Message Formatting -- https://discordapp.com/developers/docs/reference#message-formatting |
public function Parse ($url) { | |
$fileContents= file_get_contents($url); | |
$fileContents = str_replace(array("\n", "\r", "\t"), '', $fileContents); | |
$fileContents = trim(str_replace('"', "'", $fileContents)); | |
$simpleXml = simplexml_load_string($fileContents); | |
$json = json_encode($simpleXml); | |
return $json; | |
} |
<?php | |
class FileDownload | |
{ | |
public static $_response_status = array( | |
200 => 'OK', | |
201 => 'Created', | |
204 => 'No Content', | |
206 => 'Partial', | |
207 => 'Multi-Status', // WTF ?? |