Månedsarkiv: oktober 2003

Sessions i php

session_start(); if ( $_SESSION[“nick”] != “”)

Udgivet i Knowledge Base, Old Base, PHP, Programmering | Skriv en kommentar

Mål bandwidth troughput

http://freshmeat.net/redir/iperf/30604/url_tgz/iperf-1.7.0-source.tar.gz root@chilibeans:~/iperf-1.7.0# iperf -s -c localhost ———————————————————— Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ———————————————————— [ 6] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 1952 [ ID] Interval Transfer Bandwidth [ 6] 0.0-10.0 sec … Læs resten

Udgivet i Knowledge Base, Networking, Old Base | Skriv en kommentar

Configuring TCP/IP Client on Linux

The interface eth0 : The interface want to configure 10.1.1.2 : The IP of the interface 255.255.255.0 : The netmask of the interface ifconfig eth0 10.1.1.2 netmask 255.255.255.0 up The gateway 10.1.1.1 : Name of gateway route add default gateway … Læs resten

Udgivet i Knowledge Base, Linux | Skriv en kommentar

Keeping up2date with deamons

Apache http://httpd.apache.org/lists.html#http-announce

Udgivet i Apache, Knowledge Base, Links, Old Base | Skriv en kommentar

DECSystem 5100 running ultrix password recovery

i mounted /usr and got access to ‘vi’ and also ‘passwd’ changed the root pass and logged in. Here is a short guide on how to do when or if the problem arises for somebody else: How to recover root … Læs resten

Udgivet i Knowledge Base, Old Base, Retro hardware | Skriv en kommentar

SQL Queries

Insert data: insert into TabelName (`Var1`, `Var2`, `Var2`) values (‘Content1′,’Content2′,’Content2′); Delete data: delete from TabelName where Var1=’Content1′; Update data: update Tabelname set Var1=’More Content’ where Var1=’Content1′; Queries: select * from Tablename; Show all rows from Tablename select * from Tablename … Læs resten

Udgivet i Knowledge Base | Skriv en kommentar