|
Ban Users IP
- March 16, 2007 - Report Tutorial - Rating: (No Rating) - Discuss Tutorial |
To use the below code, simply past one of the codes in a file named ban.php
Then at the top of each html page or one of your header files put:
keywords:
forbid outlaw prohibit user |
Author: www.zymic.com | Total Clicks: 54 | Category: PHP | Difficulty:  |
|
PHP Display Time
- March 16, 2007 - Report Tutorial - Rating: (No Rating) - Discuss Tutorial |
Simply add this code into any existing php document
<?
$time_offset ="0"; // you many need to change this do accomidate server time offset
$adj = ($time_offset * 120);
$time = date(" h:i:s",time() + $adj);
echo "$time";
?>
And that's it!
keywords:
show exhibit put on show occasion instance point in time |
Author: www.zymic.com | Total Clicks: 40 | Category: PHP | Difficulty:  |
|
PHP Redirect
- March 16, 2007 - Report Tutorial - Rating: (No Rating) - Discuss Tutorial |
Simply add this code to your php document:
<?php
header("Location: http://www.blaa.com/blaa.php");
?>
You must add this on the first line of your document, else it will NOT work!
keywords:
forward send readdress |
Author: www.zymic.com | Total Clicks: 55 | Category: PHP | Difficulty:  |
|
Create a random image display
- March 16, 2007 - Report Tutorial - Rating: (No Rating) - Discuss Tutorial |
Create a simple random image display. This code can easily be adapted to display other random things, such as quotes etc.
KEYWORDS:
make generate produce chance accidental haphazard picture representation icon show exhibit |
Author: www.zymic.com | Total Clicks: 45 | Category: PHP | Difficulty:  |
|
Creating a simple PHP navigation!
- March 16, 2007 - Report Tutorial - Rating: (No Rating) - Discuss Tutorial |
Make sure to save the page that has the php code in it as a .php or .php3 file, if you don't it will not work and your navigation code will go kabloome.
keywords:
Create easy straightforward effortless direction-finding steering routing |
Author: www.zymic.com | Total Clicks: 53 | Category: PHP | Difficulty:  |
<< Back |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
| Next >> Total Tutorials in Category: 799
|