Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post random code
Author Message
boogschd
boogyman
Worlds End

Posts: 4,954.3196
Threads: 90
Joined: 29th Nov 2007
Reputation: 4.19708
E-Pigs: 43.6852
Offline
Post: #21
RE: Post random code
feinicks Wrote:
boogschd Wrote:@ feinicks .. you couldve at least hid that under a spoiler/xlink tag >___>

Where's the fun in that?

none i suppose ...

nevermind me :D
24/02/2009 09:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Slushba132
BustyLoli-Chan

Posts: 3,125.3993
Threads: 508
Joined: 20th Feb 2008
Reputation: -8.27558
E-Pigs: 73.1299
Offline
Post: #22
RE: Post random code

Code:
1
2
3
4
5
6
7
8
if (I > U) {
gotoAndPlay("Epic Win!");
}
else
{
javascript:window.close()
//fail
}


(This post was last modified: 24/02/2009 09:48 PM by Slushba132.)
24/02/2009 09:47 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Sparker
Super Lame Productions

Posts: 8,165.3369
Threads: 549
Joined: 19th Jan 2007
Reputation: 10.74638
E-Pigs: 187.8972
Offline
Post: #23
RE: Post random code
Who knows where I got this from?

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<script type="text/javascript"><!--
google_ad_client = "pub-7195350630812257";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
//2007-08-31: Test
google_ad_channel = "5912864126";
google_ui_features = "rc:10";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


24/02/2009 10:28 PM
Find all posts by this user Quote this message in a reply
Gadget
ɯƃıpɐɹɐd ssǝןpuǝ

Posts: 908.2697
Threads: 69
Joined: 23rd Apr 2008
Reputation: 0.85528
E-Pigs: 63.3012
Offline
Post: #24
RE: Post random code

HTML 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
52
53
54
55
56
57
58
59
60
61
62
63
64
<!--








Hi, I see you're viewing the source of this page.  It's sooo liek, nerdy, ya know?!
Well, enjoy!  Yool luv teh codez.




















































-->


PSN: Brick_Factory

Spoiler for sigpic:
[Image: 157nb04.png]
Spoiler for NeCr0-B0T:
Necro-Bot
Necro may refer to:
    * necro-, the Greek prefix meaning death
Bot or BOT or similar may refer to:
    * Internet bot, computer program which does automated tasks
    * Botnet, network of "zombie" computers used to carry out automated tasks such as spamming
24/02/2009 10:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Mickey
Down with MJ yo

Posts: 3,663.2843
Threads: 251
Joined: 26th Apr 2008
E-Pigs: 28.7300
Offline
Post: #25
RE: Post random code

PHP 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
52
53
54
<html>
<head>
<title>Calcy</title>
</head>
<body>
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<fieldseT>
<legend>Numbers</legend>
    <p>Input one : 
      <input type="text" name="input"><? echo $input; ?>
      <br /> 
      <br />
    Input 2 : 
    <input type="text" name="input2">
  </p>
    <p>Select which you would like to do:
      <SELECT name="mode" size=1>
        <OPTION selected value="add"> Addition </OPTION>
        <OPTION value="minus"> Minus </OPTION>
        <OPTION value="multiply"> Multiply </OPTION>
        <OPTION value="square"> Square route of input one </OPTION>
      </SELECT>
<br />
      <input name="submit" type="submit" value="submit">
        </p>
        </fieldset>
</form>
<?php
if(isset($_POST['submit'])){
    
$input = $_POST['input'];
$input2 = $_POST['input2'];

    if(empty($input) || empty($input2)){
        echo 'You have not provided all the information';
    } elseif(!ereg ("([0-9])", $input)){
        echo 'Please enter Numbers only';
    } elseif( $HTTP_POST_VARS['mode'] === 'minus'){
        echo $input - $input2;
    } elseif( $HTTP_POST_VARS['mode'] === 'add') {
        echo $input + $input2;
    } elseif( $HTTP_POST_VARS['mode'] === 'multiply') {
        echo $input * $input2;
    } elseif( $HTTP_POST_VARS['mode'] === 'square') {
        echo sqrt($input);
    } else {
        echo 'You have not given the correct information';
    }
}
?>


</body>
</html>


By the way not mine


[Image: MiCk3Y.jpg]

[Image: battle.png]

Spoiler for link:
(This post was last modified: 24/02/2009 10:43 PM by Mickey.)
24/02/2009 10:42 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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

 Quick Theme: