Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@hermes html]# curl -v localhost/foo.php
- * About to connect() to localhost port 80 (#0)
- * Trying 127.0.0.1... connected
- * Connected to localhost (127.0.0.1) port 80 (#0)
- > GET /foo.php HTTP/1.1
- > User-Agent: curl/7.21.3 (x86_64-redhat-linux-gnu) libcurl/7.21.3 NSS/3.12.10.0 zlib/1.2.5 libidn/1.19 libssh2/1.2.7
- > Host: localhost
- > Accept: */*
- >
- < HTTP/1.1 200 OK
- < Date: Fri, 10 Feb 2012 02:14:46 GMT
- < Server: Apache/2.2.21 (Fedora)
- < X-Powered-By: PHP/5.3.9
- < Content-Length: 17
- < Connection: close
- < Content-Type: text/html; charset=UTF-8
- <
- <?
- phpinfo();
- ?>
- * Closing connection #0
Add Comment
Please, Sign In to add comment