[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 05-13-2005, 04:46 AM   #1 (permalink)
The original NP Emo Kid
 
liam_d's Avatar
 
Join Date: Jan 2005
Location: Plymouth, UK
Posts: 1,648
0.00 NP$ (Donate)

liam_d is a name known to allliam_d is a name known to allliam_d is a name known to allliam_d is a name known to allliam_d is a name known to allliam_d is a name known to all


Redirecting?

What is a good way to do delayed redirection?

If you look on a lot of forums after posting you get a thank you with a link to go to the page to see your post and it auto goes to that page after time, now ive been told meta refresh is a no no as apparently a lot of ie users disable it. Well i cant use header redirect (php) as i always get errors like headers already sent so what else is there to use?
liam_d is offline  
Old 05-13-2005, 05:04 AM   #2 (permalink)
Account Closed
 
Mystic's Avatar
 
Join Date: Feb 2005
Location: England
Posts: 1,169
15.05 NP$ (Donate)

Mystic is just really niceMystic is just really niceMystic is just really niceMystic is just really nice


Meta refresh is the only way i can think of to use
Mystic is offline  
Old 05-13-2005, 05:44 AM   #3 (permalink)
NamePros Member
 
Join Date: Nov 2003
Location: Ontario, Canada
Posts: 91
80.80 NP$ (Donate)

eagle12 is on a distinguished road


javascript, is really the only other option.
eagle12 is offline  
Old 05-13-2005, 06:23 AM   #4 (permalink)
A Wealth of Knowledge
 
stscac's Avatar
 
Join Date: Aug 2004
Posts: 3,794
47.60 NP$ (Donate)

stscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud of


i think google will treat equally to the two listed above where as yahoo will treat better to meta refresh
stscac is offline  
Old 05-13-2005, 11:24 AM   #5 (permalink)
The original NP Emo Kid
 
liam_d's Avatar
 
Join Date: Jan 2005
Location: Plymouth, UK
Posts: 1,648
0.00 NP$ (Donate)

liam_d is a name known to allliam_d is a name known to allliam_d is a name known to allliam_d is a name known to allliam_d is a name known to allliam_d is a name known to all


Ill have to look into it a bit more then methinks
liam_d is offline  
Old 05-13-2005, 04:21 PM   #6 (permalink)
no one lives forever
 
StudioWorks's Avatar
 
Join Date: Apr 2004
Location: NamePros
Posts: 8,097
110.31 NP$ (Donate)

StudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to behold


It depends.

On what are you going to use redirect on ? Give some more information.
StudioWorks is offline  
Old 05-13-2005, 04:22 PM   #7 (permalink)
The original NP Emo Kid
 
liam_d's Avatar
 
Join Date: Jan 2005
Location: Plymouth, UK
Posts: 1,648
0.00 NP$ (Donate)

liam_d is a name known to allliam_d is a name known to allliam_d is a name known to allliam_d is a name known to allliam_d is a name known to allliam_d is a name known to all


I explained in my first post.
liam_d is offline  
Old 05-14-2005, 05:30 PM   #8 (permalink)
NamePros Member
 
Join Date: May 2005
Location: Osaka, Japan
Posts: 37
69.00 NP$ (Donate)

df-sean is an unknown quantity at this point


In my opinion, the "correct" way to do this is to use meta-refresh as it is the ideal tool created for exactly what you want to do. If users have disabled it, that's a good indication that they don't want to be redirected and may not appreciate it much of you try to bypass that -- so just offer a link as alternative way to get to the next page.

If you still want to use PHP header redirects, you just need to make sure that there is absolutely no whitespace or content being sent to the browser before the header. All http headers including the location header generated by PHP's header function *must* come before anything is sent to the browser. Make sure the "<?" that opens your script has no whitespace before it. Good luck!
__________________
:::: *DataFly.Net *::::
Rock-Solid Linux Web Hosting

http://www.datafly.net
df-sean is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Typo Redirecting Premium Domain Name Discussion 3 03-31-2005 05:55 PM
Advice on redirecting domains to affiliate progams brassneck Affiliate Talk 5 05-27-2004 10:38 PM
question for gurus - redirecting directories armstrong Programming 4 05-22-2004 09:33 AM
Q. about redirecting traffic domain daweller Parking & Traffic Monetization 3 04-28-2004 11:27 PM
Redirecting Traffic FruitFish Marketing Techniques 2 09-04-2003 01:49 AM

Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 11:28 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85