|
Posted by supersmash@gmail.com on 06/03/07 03:42
On Jun 1, 5:30 am, java.i...@gmail.com wrote:
> hi
>
> what is the main application of header() function in php.........plz
> explain in clear and depth
>
> ........i am the newbie of ..php ...so with practical examples also
One of the main things I use for it is "Location:". Basically, you can
do:
header("Location: http://www.blah.com");
It is basically a redirect. So, for example, if you accept form data
and want to redirect to a new page depending on what you receive, you
can use the header() function.
- Paul
Navigation:
[Reply to this message]
|