This document explains about junubSMS webservices protocol.
junubSMS API version 1.4.5
Webservices URL:
#!/bin/sh | |
apt-get update | |
apt-get install mysql-server | |
wget --no-check-certificate https://ftp.gnu.org/gnu/bison/bison-1.28.tar.gz | |
tar -xvf bison-1.28.tar.gz | |
rm bison-1.28.tar.gz | |
cd bison-1.28 | |
./configure --prefix=/usr/local/bison --with-libiconv-prefix=/usr/local/libiconv/ | |
make |
#!/bin/sh | |
apt-get update | |
apt-get install mysql-server | |
wget --no-check-certificate https://ftp.gnu.org/gnu/bison/bison-1.28.tar.gz | |
tar -xvf bison-1.28.tar.gz | |
rm bison-1.28.tar.gz | |
cd bison-1.28 | |
./configure --prefix=/usr/local/bison --with-libiconv-prefix=/usr/local/libiconv/ | |
make |
Getting started:
Related tutorials:
public function delete($id = null) | |
{ | |
use \Cake\Filesystem\File; | |
$this->request->allowMethod(['post', 'delete']); | |
$website = $this->Websites->get($id); | |
debug($website->image); | |
if ($this->Websites->delete($website)) { | |
$image = new File($website)->delete(); | |
$this->Flash->success(__('The website has been deleted.')); | |