ajax.php
changeset 118 0c5efda996bf
parent 109 93ef7df77847
child 142 ca9118d9c0f2
equal deleted inserted replaced
117:7cfdbb2fd17a 118:0c5efda996bf
   366         $db->_die();
   366         $db->_die();
   367       
   367       
   368       echo 'success';
   368       echo 'success';
   369       
   369       
   370       break;
   370       break;
       
   371     case 'ping':
       
   372       echo 'pong';
       
   373       break;
   371     default:
   374     default:
   372       die('Hacking attempt');
   375       die('Hacking attempt');
   373       break;
   376       break;
   374   }
   377   }
   375   
   378