Rave Radio: Offline (0/0)
Email: Password:
Page: 1 2Rating: Unrated [0]
25$ Contest
Good [+1]Toggle ReplyLink» Nuclear replied on Thu Oct 23, 2003 @ 4:01pm
nuclear
Coolness: 2749650
Mr. MD5
Good [+1]Toggle ReplyLink» wisp replied on Thu Oct 23, 2003 @ 4:52pm
wisp
Coolness: 98045
or die??
Good [+1]Toggle ReplyLink» lakester replied on Thu Oct 23, 2003 @ 7:29pm
lakester
Coolness: 60405
did like no one read my first post?
i suggested a javascript redirection like an hour after he posted a question.
and i didn't even want the $25.
Good [+1]Toggle ReplyLink» Nuclear replied on Thu Oct 23, 2003 @ 8:23pm
nuclear
Coolness: 2749650
can't be javascript... i try to use that as little as possible...
Good [+1]Toggle ReplyLink» OMGSTFUDIEPLZKTX replied on Fri Oct 24, 2003 @ 2:11am
omgstfudieplzktx
Coolness: 67240
then use meta refreshes.

Its not like JavaScript is evil.
Good [+1]Toggle ReplyLink» neoform replied on Fri Oct 24, 2003 @ 3:18am
neoform
Coolness: 340390
no, javascript isn't evil, it's just slow loading and doesn't work on all platorms the way it was designed to.
Good [+1]Toggle ReplyLink» OMGSTFUDIEPLZKTX replied on Fri Oct 24, 2003 @ 3:43pm
omgstfudieplzktx
Coolness: 67240
there are only three platforms to worry about
safari, mozilla, and IE.

function init() {
setTimeout(500, "go2url()");
}

function go2url() {
window.location='index.php';
}

HI, YOUR POST WORKED, YOU WILL BE BROUGHT BACK.

That will work in all three browsers, and will work in all other useless browsers, like netscape and opera.

Slow? Maybe, if you have a 486 DX33 with 4mb of ram.
Good [+1]Toggle ReplyLink» neoform replied on Fri Oct 24, 2003 @ 3:48pm
neoform
Coolness: 340390
letsee, which is fater?

doing a php redirect.. ooor waiting for the browser to compile some javascript, then redirecting itself... ?
Good [+1]Toggle ReplyLink» OMGSTFUDIEPLZKTX replied on Fri Oct 24, 2003 @ 4:29pm
omgstfudieplzktx
Coolness: 67240
#1) browsers don't compile javascript

#2) what if output has already been sent to the browser? Then whats faster? Using javascript redirects or storing output into memory and only flushing the buffer if necessary?
Good [+1]Toggle ReplyLink» Zz.ee.vV replied on Sat Oct 25, 2003 @ 2:51pm
zz.ee.vv
Coolness: 194750
i wouldnt really appeal to customer speed here actually

making a delay in php and then header'ing it has the major disadvantage of not being able to output, and a medium disadvantage of well, leeching your server's cpu for an arguable purpose

i would say delay is not really needed anyway, as long as the actual POSTING page checks that its been referreded to by the reply link and not anything else. i know HTTP_REFERER is set by agent...blah but i dont think it reset by the back button or refreshing
Good [+1]Toggle ReplyLink» Zz.ee.vV replied on Sun Oct 26, 2003 @ 1:15am
zz.ee.vv
Coolness: 194750
--edit---
lol this is a hilarious instance of time shifting backwards due to daylight saving. this post was posted AFTER the below post, to whic it is meant to reply.

p.s. it actually shows me as the last replier while the last post is alex's aahahaha
--edit end--

true, but then anyone wanting to go back to the posting page will go to process instead and get the dreaded re-post button which wont even let him back again quick enough, no? so either he will double post, or the process page will have to check referer anyways...

i would say the perfect way would be make the post page self-posting and display the content before submitting it to the forum this time. equivalent to a preview i guess, but mandatory. sure, an extra click, but wouldnt it solve the problem
Good [+1]Toggle ReplyLink» OMGSTFUDIEPLZKTX replied on Sun Oct 26, 2003 @ 1:42am
omgstfudieplzktx
Coolness: 67240
its just a lot easier to have a processing script.

form.php => process.php => forum.php

that way anyone who refreshes the forum.php wont double post!
Good [+1]Toggle ReplyLink» Nuclear replied on Sun Oct 26, 2003 @ 12:17pm
nuclear
Coolness: 2749650
it still would not double post because it sorts by ID and not DATE when looking for the last post...
Good [+1]Toggle ReplyLink» Nuclear replied on Sun Oct 26, 2003 @ 12:18pm
nuclear
Coolness: 2749650
Anyways I think the double posting has been fixed... There has not been a case in over a week...
Good [+1]Toggle ReplyLink» wisp replied on Sun Oct 26, 2003 @ 1:54pm
wisp
Coolness: 98045
oh and i still have that bug
Good [+1]Toggle ReplyLink» Nuclear replied on Sun Oct 26, 2003 @ 3:50pm
nuclear
Coolness: 2749650
what bug?
Good [+1]Toggle ReplyLink» wisp replied on Sun Oct 26, 2003 @ 3:54pm
wisp
Coolness: 98045
that thing where my pointers dont reset
Good [+1]Toggle ReplyLink» OMGSTFUDIEPLZKTX replied on Sun Oct 26, 2003 @ 8:51pm
omgstfudieplzktx
Coolness: 67240
wetewt
25$ Contest
Page: 1 2
Post A Reply
You must be logged in to post a reply.