Hi,
I'm messing around with REST in PHP and I understand that I can capture the request method vi a $_SERVER['REQUEST_METHOD']
. But how do I trigger PUT/DELETE requests in PHP without the use of cURL?
I want to use the features of a default PHP installation to do this.
I can't imagine changing the method attribute of the form tag to specify a method other than GET or POST would work on all browsers...plus the HTML standard doesn't recognize it.
I'm on PHP 5.2.6, by the way.
Thanks.