Search found 2 matches

by bumpy
Wed Nov 20, 2002 9:19 am
Forum: PHP - Code
Topic: how to make those easy links (like: blah.php?id=01)
Replies: 3
Views: 9970

well, if you just have a few pages with your website you could use a switch : You build your index.php for example like this: <?php include("header.php"); //here your Menu with links like <a href="?id=1">page1</a> switch ($_GETї"i...
by bumpy
Wed Nov 20, 2002 7:29 am
Forum: PHP - Code
Topic: who's online
Replies: 9
Views: 4469

logscript

<?php session_start(); if(!session_is_registered('counted')){ $agent = $_SERVERї'HTTP_USER_AGENT']; $uri = $_SERVERї'REQUEST_URI']; $user = $_SERVERї'PHP_AUTH_USER']; $ip = $_SERVERї'REMOTE_ADDR']; $ref = $_SERVERї'HTTP_REFERER']; $dtime = da...