Esempio n. 1
0
<?php

require_once '../raxan/pdi/gateway.php';
Raxan::sendError('Bad syntax', 400);
Esempio n. 2
0
<?php

require_once '../raxan/pdi/gateway.php';
Raxan::sendError('File not found', 404);
Esempio n. 3
0
<?php

require_once '../raxan/pdi/gateway.php';
Raxan::sendError('Forbidden access', 403);
Esempio n. 4
0
<?php

require_once '../raxan/pdi/gateway.php';
Raxan::sendError('Unauthorized  access', 401);
Esempio n. 5
0
 /**
  * Sends an error page or message to the web browser and stop page processing.
  * @return void
  */
 public function sendError($msg, $code = null)
 {
     Raxan::sendError($msg, $code);
 }