You are here: Re: Question on php pause then redirect « All PHP « IT news, forums, messages
Re: Question on php pause then redirect

Posted by J.O. Aho on 08/05/06 08:12

Rik wrote:
> Hoopster wrote:
>> Hello,
>>
>>
>> I was wondering if I can add some code to let someone read something
>> on the screen, and after a few seconds it takes that person to another
>> webpage automatically.
>>
>>
>> example - contact us php script. Once the information has been
>> submitted it will take the user to a thank you page. Then it will
>> pause for a second and then redirect the user to the homepage.
>>
>>
>> Is that possible, if so can someone give me a code example.
>
> Normally this is done using the HTML meta refresh tag, with a link to click
> for users that don't allow a redirect.
>
> http://www.w3schools.com/html/tryit.asp?filename=tryhtml_redirect

header() can be used instead of the meta tags
http://www.php.net/manual/en/function.header.php



//Aho

 

Navigation:

[Reply to this 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

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