Tag: records

CakePHP, PHP

How to limit records per page from view using CakePHP 3

Place the following code in your view: <div id="recperpage"> <?=$this->Form->create(null, [ ‘url’ => [’controller’ => ‘mycontroller’, ‘action’ => ‘index’], ‘id’ => ‘myformid’, ])?> Records per page: <?=$this->Form->select(’recperpageval’, [5=>5, 10=>10, 20=>20, 50=>50, 100=>100, 250=>250, 500=>500], [’default’ => 20, ‘onchange’=>’onSelectSubmit("myformid")’] ) ?> <?=$this->Form->end()?> </div><div id="recperpage"> <?=$this->Form->create(null, [ ‘url’ => [‘controller’ => ‘mycontroller’, ‘action’ => ‘index’], ‘id’ => …

DNS, Enumeration, Information Gathering, Reconnaissance

Retrieve MX records

nslookup is a command-line administrative tool for testing and troubleshooting DNS servers. The syntax for noninteractive mode is: nslookup [-option] [hostname] [server]nslookup [-option] [hostname] [server] Parameters Commands:   (identifiers are shown in uppercase, [] means optional)  NAME            – print info about the host/domain NAME using default                    server  NAME1 NAME2     – as above, but use NAME2 …