Re: HTTP HEADERS
| From: | Joe Wollard | Date: | Sat, 03 Jun 2006 07:46:59 +0000 |
| Subject: | Re: HTTP HEADERS | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237321@lists.php.net to get a copy of this message | ||
(sorry for the dup kartikay, forgot to hit reply to all;-)
So is the file going from server to server or from a client machine to the
server? It sounds like server to server - which if that's the case you can
use headers_list() to see what your server is going to be sending out to the
other server ( http://www.php.net/manual/en/function.headers-list.php) -
otherwise you can use the get_headers() function
(http://www.php.net/manual/en/function.get-headers.php)
see what headers the client sent you along with the file.
-Joe
On 6/3/06, kartikay malhotra <kartikay.malhotra@gmail.com> wrote:
Hi all! I use HTTP POST to upload a file. I've a PHP script running on the server. Are HTTP headers passed with this request? How can I see the headers passed to the server? Thanks KM