Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gift for V1
Author Message
Vegetano1
$urf

Posts: 9,083.2507
Threads: 397
Joined: 2nd Mar 2007
Reputation: 6.06988
E-Pigs: 2756.6280
Offline
Post: #9
RE: Gift for V1
Tetris999 Wrote:
Vegetano1 Wrote:
rockhead Wrote:v1 how do u do the random sig thing?

You need a server wich suport's image's and you need a php script,.

wow damn, but if i recall can't you just use your computer as a server? and the php script shouldnt be all to hard to make right?

Server and computer are different,. but should work,.

The script: i think ZingaBurga made this script,.. but i am not sure,.
save as .txt and rename to .php place in the same dir as the picture's

Code:
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
<?php

// Force no caching
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); 
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Content-Type: image");








//****************** CHANGE THIS PART **************************
//Add lines to add images

$pic = array(
 "1.png",
 "2.png",
 "3.png",
 
);


//**************************************************************













$rpic = $pic[mt_rand(0, count($pic)-1)];

header("Content-Length: ".filesize($rpic));

$fp = fopen($rpic, 'rb');
fpassthru($fp);
fclose($fp);

?>



Make loads of $$!! it wurks!!
[Image: csbanner_anim_03.gif]
Signed Homebrew by bsanehi & OMightyBuggy
http://endlessparadigm.com/forum/showthr...?tid=25707
Spoiler for My miniBlog:
31/12/2007 06:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Gift for V1 - Shady - 28/12/2007, 02:09 PM
RE: Gift for V1 - Vegetano1 - 28/12/2007, 02:38 PM
RE: Gift for V1 - Shady - 28/12/2007, 02:40 PM
RE: Gift for V1 - Vegetano1 - 28/12/2007, 02:44 PM
RE: Gift for V1 - rockhead - 28/12/2007, 02:55 PM
RE: Gift for V1 - Vegetano1 - 28/12/2007, 02:57 PM
RE: Gift for V1 - Tetris999 - 31/12/2007, 06:55 AM
RE: Gift for V1 - Vegetano1 - 31/12/2007 06:59 AM
RE: Gift for V1 - Shady - 28/12/2007, 02:56 PM
RE: Gift for V1 - RIKKU - 31/12/2007, 07:05 AM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)

 Quick Theme: