You are here: Re: A few newbie questions « PHP Programming Language « IT news, forums, messages
Re: A few newbie questions

Posted by Jerry Stuckle on 07/22/05 20:28

SOR wrote:
> <comp.lang.php , Shelly , sheldonlg.news@asap-consult.com>
> <tbCdnSi5NJ_ONkDfRVn-2A@comcast.com>
> <Tue, 19 Jul 2005 21:38:41 -0400>
>
>>>It sucks there isnt a easy to use command in php like
>>>webpage('filename.php') .
>>
>>But that is what the header does:
>>
>>header("Location: 'filename.php"):
>>
>
>
> Damn silly name if you ask me - wouldnt something like
> webpage('filename.php') be better .

No, because the header() function can set several different values in the page's
header. The new page location is just one of them.

What you're actually doing is sending an instruction to the browser to load the
new page. This is done in the header of the old page.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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