You are here: Re: What is wrong? « PHP Language « IT news, forums, messages
Re: What is wrong?

Posted by Zach on 12/31/07 17:31

Thanks mate,
Zach

Guillaume BASSINET wrote:
> Zach a écrit :
>> do you mean only
>>
>> <?php
>> // some code
>> ?>
>>
>> and nothing else?
>>
>> Zach
>>
>> Zach wrote:
>>>
>>> The code below should redirect the user to another page, but doesn't.
>>> What is wrong?
>>> Zach
>>>
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>>> <html xmlns="http://www.w3.org/1999/xhtml">
>>> <head>
>>> <meta http-equiv="content-type" content="text/html; charset=utf-8" />
>>> <title>Under reconstruction</title>
>>> </head>
>>> <body>
>>> <?php
>>> // Redirect the user to the welcome page!
>>> header ('Location: www.aaa.yy/index.html/');
>>> exit();
>>> ?>
>>> </body>
>>> </html>
>
> yep! only php!!!

 

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

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