|
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]
|