merylvingien Posted January 28, 2011 Share Posted January 28, 2011 Hi guys and gals, i have two sites which interact with each other, if someone lands on my local site and searches, if the answer isnt found it will transfer them to my other site which has a wider range for what they are looking for. My question is, how would i go about delaying the transfer and displaying a message that the user is now being transfered to a different site? I was thinking something similar to one of those uploading please wait type overlays or somthing? Any ideas would be useful, at the moment its done with a simple form and php, but is instant. Quote Link to comment https://forums.phpfreaks.com/topic/225959-delay-transfer-between-two-sites/ Share on other sites More sharing options...
l4nc3r Posted January 28, 2011 Share Posted January 28, 2011 You need a javascript redirect. http://www.tizag.com/javascriptT/javascriptredirect.php Quote Link to comment https://forums.phpfreaks.com/topic/225959-delay-transfer-between-two-sites/#findComment-1166553 Share on other sites More sharing options...
merylvingien Posted January 28, 2011 Author Share Posted January 28, 2011 Ive actually nearly solved it myself, you dont need java, php is more than capable of handling this. header ("refresh:5;url=www.domain.com/url"); Just need to display it properly now. Quote Link to comment https://forums.phpfreaks.com/topic/225959-delay-transfer-between-two-sites/#findComment-1166561 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.