Re: Sending headers to server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Miguel,

On 08/02/2013 10:50 AM, Miguel Guedes wrote:
> Hi Karim,
> 
> On 01/08/13 15:40, Karim Geiger wrote:
>>
>> Works for me. What happens exactly? Do you get a 200?
>>
> 
> That's exactly right - I always get a 200.  How can I diagnose this?
> 

Try getting the complete header by using curl -v http://url.com and
paste it here. In my example I'm getting this output:

* About to connect() to ****** port 80 (#0)
*   Trying 213.***.***.***...
* Connected to ****** (213.***.***.***) port 80 (#0)
> GET /test.php HTTP/1.1
> User-Agent: curl/7.29.0
> Host: ******
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< Date: Fri, 02 Aug 2013 14:27:15 GMT
< Server: Apache
< Content-Length: 6
< Connection: close
< Content-Type: text/html; charset=UTF-8
<
* Closing connection 0

What is your output?

Regards

Karim


-- 
Karim Geiger
Auszubildender Fachinformatiker AE

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux