Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende Überarbeitung | |||
archiv:coding:php:pushmeto [2023/11/05 21:48] – psycore | archiv:coding:php:pushmeto [2023/11/08 12:09] (aktuell) – gelöscht psycore | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | {{template> | ||
- | ====== Pushme.to PHP Template ====== | ||
- | |||
- | Siehe auch: [[archiv: | ||
- | |||
- | ===== Template ===== | ||
- | |||
- | <code php> | ||
- | |||
- | |||
- | <? | ||
- | /* Insert your 32 byte long hash ID here */ | ||
- | $url = " | ||
- | /* Configuration is done! */ | ||
- | |||
- | $msg= $_GET[msg]; | ||
- | $nick = $_GET[nick]; | ||
- | |||
- | pushmeTo ($url, | ||
- | |||
- | function pushMeTo($widgeturl, | ||
- | $agent = " | ||
- | if (!function_exists(" | ||
- | $ch = curl_init(); | ||
- | curl_setopt($ch, | ||
- | curl_setopt($ch, | ||
- | curl_setopt($ch, | ||
- | $page = curl_exec($ch); | ||
- | preg_match("/ | ||
- | preg_match("/ | ||
- | preg_match("/ | ||
- | $ch = curl_init(); | ||
- | $strpost = $message_field[1].' | ||
- | curl_setopt($ch, | ||
- | curl_setopt($ch, | ||
- | curl_setopt($ch, | ||
- | curl_setopt($ch, | ||
- | curl_setopt($ch, | ||
- | curl_setopt($ch, | ||
- | $page = curl_exec($ch); | ||
- | } | ||
- | |||
- | |||
- | ?> | ||
- | </ |