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: Geoff Berrow <blthecat@ckdog.co.uk>
Date: Fri Jul 22 2005 - 09:27:41 CEST

I noticed that Message-ID:
<MPG.1d4a44faf82b7944989d45@no-cancel.newsreader.com> from SOR contained
the following:

>> header("Location: 'filename.php"):
>>
>
>Damn silly name if you ask me - wouldnt something like
>webpage('filename.php') be better .

You could write your own function :-)

function webpage($url){
header("Location: $url");
}

-- 
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Received on Mon Oct 17 21:15:01 2005