Kamikaze_Badger Posted April 11, 2005 Posted April 11, 2005 Well, after spending 5 minutes of reading PHP, I've decided to try a bit of programming in it(MUDs are fun, and almost profitable if you have no life!)... <? $hello = "y hal0 thar world!<br> this will loop forever!"; $numbar = 1; while($number != 0) { echo $hello; } ?> So, can somebody test it for me and see if it'll work ? Quote Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted April 11, 2005 Posted April 11, 2005 If you'd like some sort of ftp account on me little server so you can test it feel free to PM me But from looking, looks like it'll work. You wouldn't get any output because, well, it'd loop forever and the page would just timeout. A better test might be a loop with a stop condition so the webpage will eventually be output to the browser Quote Share this post Link to post Share on other sites More sharing options...
Kamikaze_Badger Posted April 11, 2005 Posted April 11, 2005 Ahh, dang them bottlenecks that ruin me from having my spamified fun! Ah well, good to hear that I got it right the first time. You'll be getting a PM later today . Quote Share this post Link to post Share on other sites More sharing options...
suchuwato Posted April 11, 2005 Posted April 11, 2005 don't you have an old box lying arond that you could set up apache and php or whatever on? that would work. took me forever to realise the looping thing first time Quote Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted April 11, 2005 Posted April 11, 2005 don't you have an old box lying arond that you could set up apache and php or whatever on? that would work.took me forever to realise the looping thing first time 460595[/snapback] haha! infinite loops are the enemy I used to be great at making unintended infinite loops EDIT: Oh and he could probably set up apache and PHP on Windows (with a few headaches)... but you all know you want an account on the super amazing briefcase computer in my cupboard really Quote Share this post Link to post Share on other sites More sharing options...
suchuwato Posted April 11, 2005 Posted April 11, 2005 you use the briefcase as a server? that's cool. Quote Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted April 11, 2005 Posted April 11, 2005 lol yes, it replaced the 133MHz beast sitting there before (and the picture of the briefcase in my sig... that's it's 'stats' beside it) Quote Share this post Link to post Share on other sites More sharing options...
suchuwato Posted April 11, 2005 Posted April 11, 2005 cool. when i get my net connection on permanantly i'll prolly get my server running FreeBSD - so there will be a lot of PMs heading your way Quote Share this post Link to post Share on other sites More sharing options...
Nerm Posted April 11, 2005 Posted April 11, 2005 yea infinite loops can be fun. hehe Quote Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted April 11, 2005 Posted April 11, 2005 cool. when i get my net connection on permanantly i'll prolly get my server running FreeBSD - so there will be a lot of PMs heading your way 460634[/snapback] lol not a problem, feel free! (why aint it on permanently at the moment? ) yea infinite loops can be fun. hehe 460635[/snapback] lol they're great! Quote Share this post Link to post Share on other sites More sharing options...
suchuwato Posted April 11, 2005 Posted April 11, 2005 lol not a problem, feel free! (why aint it on permanently at the moment? ) well, we use the net on more than one computer at home, and only have a couple of usb modems, but my dad's getting a modem/router in a couple of days Quote Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted April 11, 2005 Posted April 11, 2005 Oh right! I hate USB modems They're all so cheap and skanky Quote Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.