Help with php - telnet
Posted: Fri Dec 03, 2004 6:12 pm
nigma | Help us, help you. Please use
and wanted to test them out using telnet
Below is my log from my test:
# telnet localhost 80
blah blah blah
Escape character is '^]'.
GET /index.php HTTP/1.1
Host: http://www.pengus-picks.com
HTTP/1.1 200 OK
Date: Fri, 03 Dec 2004 23:55:29 GMT
Server: Apache/2.0.52 (Unix) PHP/4.3.8
X-Powered-By: PHP/4.3.8
Transfer-Encoding: chunked
Content-Type: text/html
15
This is my index page
0
I am just wondering, why is there a 15 and a 0 shown
but its not really shown if i just access the page from IE.
not even when i view the source on IE.
The 15 look like word count or something??
i dont know, im just guessing (correct me if i am wrong)
Anyways, can anyone tell me what the 15 and 0 are???
Is there any way i can get rid of those ??
say if i have to use php page.
Thanks all.
nigma | Help us, help you. Please use
Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
Hello everyone,
i'm new here.
I've created a php page:Code: Select all
<?php
echo "This is my index page";
?>Below is my log from my test:
# telnet localhost 80
blah blah blah
Escape character is '^]'.
GET /index.php HTTP/1.1
Host: http://www.pengus-picks.com
HTTP/1.1 200 OK
Date: Fri, 03 Dec 2004 23:55:29 GMT
Server: Apache/2.0.52 (Unix) PHP/4.3.8
X-Powered-By: PHP/4.3.8
Transfer-Encoding: chunked
Content-Type: text/html
15
This is my index page
0
Code: Select all
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Method Not Implemented</title>
</head><body>
<h1>Method Not Implemented</h1>
<p>q to / not supported.<br />
</p>
</body></html>
Connection closed by foreign host.I am just wondering, why is there a 15 and a 0 shown
but its not really shown if i just access the page from IE.
not even when i view the source on IE.
The 15 look like word count or something??
i dont know, im just guessing (correct me if i am wrong)
Anyways, can anyone tell me what the 15 and 0 are???
Is there any way i can get rid of those ??
say if i have to use php page.
Thanks all.
nigma | Help us, help you. Please use
Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]