Page 1 of 1

IE meta refresh problem with html

Posted: 24 Jul 2008, 12:23
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.

Posted: 24 Jul 2008, 12:26
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.

Posted: 24 Jul 2008, 12:27
by po10cy
please try paste the code, maybe put "*" inbetween the code or something.

edit: shot

Posted: 24 Jul 2008, 12:36
by po10cy
what happens when you remove the 5 sec?

Posted: 24 Jul 2008, 12:40
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.

Posted: 24 Jul 2008, 12:41
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.

Posted: 24 Jul 2008, 12:51
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 :?

Posted: 24 Jul 2008, 12:53
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..

Posted: 24 Jul 2008, 13:00
by capanno
hmm ok thanks. I dont know where to look. I dont even know what the htaccess file is for. :P

Posted: 24 Jul 2008, 14:53
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/">

Posted: 24 Jul 2008, 15:45
by capanno
Yeah that solved the problem, without the ~/ though. URL=inde x.html sufficed! Thanks a lot!