voip03 Posted August 2, 2011 Share Posted August 2, 2011 php redirect with a time delay similar to the Javascript redirect Does anyone know how to do this Quote Link to comment Share on other sites More sharing options...
WebStyles Posted August 2, 2011 Share Posted August 2, 2011 you can include javascript in your code to achieve that result. Quote Link to comment Share on other sites More sharing options...
voip03 Posted August 2, 2011 Author Share Posted August 2, 2011 is it possable with PHP Quote Link to comment Share on other sites More sharing options...
WebStyles Posted August 2, 2011 Share Posted August 2, 2011 php is server side, so whater php is doing, will be executed on the server and then sent to your browser... you can use sleep($secs) at the start of one of your scripts, to delay the execution, but it won't be the same thing. Some browsers will jump to a blank page while your script is waiting. Firefox will actually wait before the script is over until it jumps, so in firefox you can (sort of) simulate the effect with php. Javascript will do a much better job. Quote Link to comment Share on other sites More sharing options...
voip03 Posted August 2, 2011 Author Share Posted August 2, 2011 alternative to onload in js Quote Link to comment Share on other sites More sharing options...
WebStyles Posted August 2, 2011 Share Posted August 2, 2011 there are many ways you can go from here, what is the exact situation ? Quote Link to comment Share on other sites More sharing options...
voip03 Posted August 2, 2011 Author Share Posted August 2, 2011 I am going to use jquery thank u Quote Link to comment 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.