Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Dark_Génova
Registered User
Posts: 12 Joined: Mon Mar 15, 2004 3:07 pm
Location: Paris, France
Post
by Dark_Génova » Thu Nov 23, 2006 11:56 am
itunes66 wrote:
ok since im a programmer ill put down a little snippet to express my thanks
Code: Select all
<?php
$thanks = 1;
do {
echo "Thanks< br/>";
$thanks += 1;
} while($thanks >= 1);
?>
Code: Select all
<?php
for ($thanks = 1; $thanks >= 1; $thanks++)
{
echo "Thanks< br/>";
}
?>
FOR powa !
Nicholas the Italian
Registered User
Posts: 659 Joined: Mon Nov 20, 2006 11:19 pm
Location: 46°8' N, 12°13' E
Contact:
Post
by Nicholas the Italian » Thu Nov 23, 2006 1:23 pm
Code: Select all
<script>
while ( true )
document.write("Thanks< br/>");
</script>
PS: doesnt your code overflow after 2 billion iterations?
DanoruX
Registered User
Posts: 156 Joined: Fri Mar 18, 2005 11:47 pm
Contact:
Post
by DanoruX » Thu Nov 23, 2006 3:02 pm
cmon people if you want to use code, do it the shortest way possible:
Code: Select all
loop:
push "thanks"
call _printf
add 4, %esp
jmp loop
Or something like that
Nicholas the Italian
Registered User
Posts: 659 Joined: Mon Nov 20, 2006 11:19 pm
Location: 46°8' N, 12°13' E
Contact:
Post
by Nicholas the Italian » Thu Nov 23, 2006 3:41 pm
Code: Select all
81 DA 56 B3
06 7F CE 14
91 04 5B 8F
70 71 A2 09
61 00 5A B1
07 15 94 22
05 11 61 F4
Guaranteed working with my own processor!
itunes66
Registered User
Posts: 169 Joined: Tue Feb 08, 2005 12:28 am
Post
by itunes66 » Thu Nov 23, 2006 3:58 pm
<?php
loop('thanx');
?>
2 things i like about you hmm.. ill have to get back to you on that one
Highway of Life
Registered User
Posts: 1399 Joined: Tue Feb 08, 2005 10:18 pm
Location: I'd love to change the World, but they won't give me the Source Code
Contact:
Post
by Highway of Life » Thu Nov 23, 2006 9:22 pm
itunes... there is a problem with it...
It runs in to the timeout.
Here, put this before your script runs...
itunes66
Registered User
Posts: 169 Joined: Tue Feb 08, 2005 12:28 am
Post
by itunes66 » Thu Nov 23, 2006 9:29 pm
there is a problem with that, you use set_time_limit(0); because set_time_limit does not take strings like that
2 things i like about you hmm.. ill have to get back to you on that one
Highway of Life
Registered User
Posts: 1399 Joined: Tue Feb 08, 2005 10:18 pm
Location: I'd love to change the World, but they won't give me the Source Code
Contact:
Post
by Highway of Life » Fri Nov 24, 2006 7:36 am
I know!
Yoda_IRC
Registered User
Posts: 158 Joined: Tue Mar 01, 2005 10:19 pm
Post
by Yoda_IRC » Fri Nov 24, 2006 3:10 pm
Or for those *nix users:
(if you don't know what yes does, then read the man/info pages)