php – Class ‘COM’ not found
282COM and DOTNET are not available by default in PHP Core, php.ini. You have to manually add COM support to PHP if you face issue. Typically, you get an error message as Step 1.Copy php_com_dotnet.dll located in xampp\php\ext folder to c:/windows/system32/ Step 2.Add following to php.ini file located ..
Handling Text file in PHP
203After so long time, I was coding in PHP to write certain user inputs in a text file (.txt). Here are the codes that may find it helpful also. To check if text file is empty [crayon-5c6f2a7707e73828078302/] To check if content already exists in text file [crayon-5c6f2a7707e8c009639955/] ..
Recover Cisco Switch Ports from err-disabled State
213How to view and recover Cisco Switch ports from err-disabled state
How to quickly import CSV file into MySQL table
232Import CSV into MySQL This is a simple version of LOAD DATA command to import simple CSV file into MySQL table. It look only .02 seconds to import 40+ records. LOAD DATA INFILE ‘c:\datafolder\t_order_details.csv” INTO TABLE t_order_details FIELDS TERMINATED BY ‘;’ LINES TERMINATED BY ‘\n’ ..
How to get size of each table of a MySQL Database
179This SQL query provides you with list of all tables with largest size in a MySQL database that is executed. [crayon-5c6f2a770a6e5493979859/]
SNMP vs Trap
Commands to manage F5 Active Connections
837View All Active Connections Use the command tmsh show /sys connection to view all active connections of all Virtual Servers of F5 unit [root@F5LB] config # tmsh show /sys connection Really display 1000 connections? (y/n) y Sys::Connections 126.96.36.199:50254 192.168.2.103:443 192.168.2.203:50254 192.168.2.41:7003 ..
Logging WL-Proxy-Client-IP and X-Forwarded-For to determine Client IP behind F5
373In order to determine the client IP that sends requests to a Web Server placed behind an F5 appliance, you can attach this iRule to your virtual server. This iRule logs the requested Client IP address under System > Logs > Local Traffic. This iRule logs following Client IP address Request URL X-Forwarded-For ..
Configure HTTP Monitor in F5
995Before we begin configuring the HTTP Monitor, use POSTMAN or other HTTP sniffer tool to understand REQUEST (Send String) and RESPONSE (Receive String) pair of the health check page. SEND STRING In this example, when client browser browse the health check web page /…/healthcheck.html, the client ..