note 108975 added to function.file-get-contents

From: Date: Fri, 08 Jun 2012 18:16:35 +0000
Subject: note 108975 added to function.file-get-contents
Groups: php.notes 
Request: Send a blank email to php-notes+get-188476@lists.php.net to get a copy of this message
This is an easy way to trigger scripts by listening for POSTs. I simply point a service's webhook url to the script, which file_get_contents("php://input"), cast to an array, and then simplexml_load_string() to parse it and use one of the keys' data as the parameter for my script. ---- Server IP: 64.71.164.2 Probable Submitter: 70.88.182.198 ---- Manual Page -- http://www.php.net/manual/en/function.file-get-contents.php Edit -- https://master.php.net/note/edit/108975 Del: integrated -- https://master.php.net/note/delete/108975/integrated Del: useless -- https://master.php.net/note/delete/108975/useless Del: bad code -- https://master.php.net/note/delete/108975/bad+code Del: spam -- https://master.php.net/note/delete/108975/spam Del: non-english -- https://master.php.net/note/delete/108975/non-english Del: in docs -- https://master.php.net/note/delete/108975/in+docs Del: other reasons-- https://master.php.net/note/delete/108975 Reject -- https://master.php.net/note/reject/108975 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#188476) next »