IE meta refresh problem with html

Get help on web editors (Frontpage, Dreamweaver) and web languages (HTML, ASP, PHP).
Post Reply
capanno
Registered User
Posts: 5727
Joined: 17 Apr 2004, 02:00
Location: PTA
Contact:

IE meta refresh problem with html

Post by capanno »

Hey

I use the following code in the head of my php page:

>>> (wtf when I post my code it bombs out and loads the index of pcformat?)

(some details removed for the sake of posting)

It loads the index.html page after 5 seconds. This works fine with firefox, but internet explorer just refreshes the same page. I know IE is the one who is wrong here, because its a microsoft product. :P Can anyone help? Its kida urgent.
Image
Josh Dies is my hero! |50,000,601.375 forum points
capanno
Registered User
Posts: 5727
Joined: 17 Apr 2004, 02:00
Location: PTA
Contact:

Post by capanno »

<me ta http-equi v="refr esh" cont ent="5;index.htm l" />

haha got it. I suppose you can make out what the above line is supposed to look like.
Last edited by capanno on 24 Jul 2008, 12:28, edited 1 time in total.
Image
Josh Dies is my hero! |50,000,601.375 forum points
po10cy
Registered User
Posts: 7160
Joined: 29 Jun 2004, 02:00
Location: Cape Town
Contact:

Post by po10cy »

please try paste the code, maybe put "*" inbetween the code or something.

edit: shot
when in doubt, paddle out... ;)
po10cy
Registered User
Posts: 7160
Joined: 29 Jun 2004, 02:00
Location: Cape Town
Contact:

Post by po10cy »

what happens when you remove the 5 sec?
when in doubt, paddle out... ;)
capanno
Registered User
Posts: 5727
Joined: 17 Apr 2004, 02:00
Location: PTA
Contact:

Post by capanno »

its not really an option. The page executes a mailer that sends a mail and displays a thankyou message. I need that pause.
Image
Josh Dies is my hero! |50,000,601.375 forum points
po10cy
Registered User
Posts: 7160
Joined: 29 Jun 2004, 02:00
Location: Cape Town
Contact:

Post by po10cy »

<ME TA HT TP-EQ UIV="ref resh"
con tent="5; URL=htt p://www .YOUR URL.co. za/ind ex.htm l/">

try that one pls

edit: IE could be having a problem reading the url so try giving the full url.
when in doubt, paddle out... ;)
capanno
Registered User
Posts: 5727
Joined: 17 Apr 2004, 02:00
Location: PTA
Contact:

Post by capanno »

nah. it gives an error:

Not Found

The requested URL /www.url.co.za/index.html was not found on this server.

in the adress line: http://url.co.za/www.url.co.za/index.html :?
Image
Josh Dies is my hero! |50,000,601.375 forum points
po10cy
Registered User
Posts: 7160
Joined: 29 Jun 2004, 02:00
Location: Cape Town
Contact:

Post by po10cy »

bollocks, im searching for some workarounds...some ppl suggested putting in some code in the .htaccess file but ya seems like a problem many resort to java because of but ya am interested in seeing the fix for this..
when in doubt, paddle out... ;)
capanno
Registered User
Posts: 5727
Joined: 17 Apr 2004, 02:00
Location: PTA
Contact:

Post by capanno »

hmm ok thanks. I dont know where to look. I dont even know what the htaccess file is for. :P
Image
Josh Dies is my hero! |50,000,601.375 forum points
po10cy
Registered User
Posts: 7160
Joined: 29 Jun 2004, 02:00
Location: Cape Town
Contact:

Post by po10cy »

capanno wrote:hmm ok thanks. I dont know where to look. I dont even know what the htaccess file is for. :P
the htaccess file basically is a file that you insert in directories that you want to configure, say for example you want to set things to read and write then you place the htaccess file in that directory and it applies to the directory and sub directories... you would rename the htaccess file and place a "." in the front to make it invisible so nobody can delete it or whatever in a ftp program.

when i was on lunch i was thinking bout your problem, perhaps try this...

<ME TA HT TP-EQ UIV="ref resh"
con tent="5; URL = ~/ind ex.htm l/">
when in doubt, paddle out... ;)
capanno
Registered User
Posts: 5727
Joined: 17 Apr 2004, 02:00
Location: PTA
Contact:

Post by capanno »

Yeah that solved the problem, without the ~/ though. URL=inde x.html sufficed! Thanks a lot!
Image
Josh Dies is my hero! |50,000,601.375 forum points
Post Reply