Reply to Re: Meta refresh in Safari

Your name:

Reply:


Posted by rf on 12/29/07 01:41

"Matt" <guitarromantic@gmail.com> wrote in message
news:2f09a658-fe5e-44bb-811e-b259100f3661@x69g2000hsx.googlegroups.com...
> Am I right in thinking that this code doesn't work in Safari? I've
> just written a PHP script for posting comments which uses a meta
> refresh to reload the page so the user can't hit Reload and duplicate
> their comment. I added a 'click here to continue' link underneath the
> 'you will now be redirected' message, but this isn't ideal - is there
> any way to solve this besides using a header redirect? I don't really
> want to do that since I'll have to strip all my PHP processing code
> into a different file and such.

The only reliable way to do the redirect is server side. Once you realize
this you would write your PHP accordingly. It's not much different, simply
do the redirect immediately after your existing PHP code updates the
database.

--
Richard.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация