Re: A few newbie questions
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: A few newbie questions

From: Jerry Stuckle <jstucklex@attglobal.net>
Date: Fri Jul 22 2005 - 19:28:59 CEST

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
==================
Received on Mon Oct 17 21:15:21 2005