예제 #1
0
<?php

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

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

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

require_once '../raxan/pdi/gateway.php';
Raxan::sendError('Unauthorized  access', 401);
예제 #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);
 }