Page: 1 2 | Rating: Unrated [0] |
25$ Contest
Good [+1]Toggle ReplyLink» Nuclear replied on Thu Oct 23, 2003 @ 4:01pm |
Good [+1]Toggle ReplyLink» wisp replied on Thu Oct 23, 2003 @ 4:52pm |
Good [+1]Toggle ReplyLink» lakester replied on Thu Oct 23, 2003 @ 7:29pm |
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 |
Good [+1]Toggle ReplyLink» OMGSTFUDIEPLZKTX replied on Fri Oct 24, 2003 @ 2:11am |
Good [+1]Toggle ReplyLink» neoform replied on Fri Oct 24, 2003 @ 3:18am |
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 |
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 |
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 |
#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 |
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 |
--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 |
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 |
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 |
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 |
Good [+1]Toggle ReplyLink» Nuclear replied on Sun Oct 26, 2003 @ 3:50pm |
Good [+1]Toggle ReplyLink» wisp replied on Sun Oct 26, 2003 @ 3:54pm |
Good [+1]Toggle ReplyLink» OMGSTFUDIEPLZKTX replied on Sun Oct 26, 2003 @ 8:51pm |
25$ Contest
Page: 1 2 |
[ Top Of Page ] |
Post A Reply |
You must be logged in to post a reply.
[ Top Of Page ] |