--- Shaun van den Berg <[EMAIL PROTECTED]> wrote:
> I have tried the net , googling ect. but i cannot get a good
> description of what the header function is al about ? Can anyone
> please define the header function.
It allows you to specify an HTTP header to be included in the response to the
Web
http://uk.php.net/header
Have a look at that. As it says, sends an HTTP header. Useful if you want to
specify content type in the page that isn't HTML (maybe an image or a pdf).
Read the above for more info.
Regards
Chris
-Original Message-
From: Shaun van den Berg [mailto:[EMAIL PROTE
Try removing all leading spaces between the shebang and the beginning of
the script:
#!/usr/bin/php -q
Hey,
>
>
>
> Got a problem using the header function on a file upload page to redirect
> the user back to a web page. Here's the code:
>
>
>
> #!/usr/bin/php -q
>
>
>
>
>
>
> $file
3 matches
Mail list logo