Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending headers manualy 1

Status
Not open for further replies.

Artur

Programmer
Mar 28, 2001
11
0
0
PT
How do i send it manualy.

if i do something like this:
print <<< END
&quot;HTTP/1.0 200 OK&quot;
&quot;Content-Type: text/html&quot;
END;


what apears on the browser is this :
&quot;HTTP/1.0 200 OK&quot; &quot;Content-Type: text/html&quot;
 
Try this:

<?php header(&quot;Status 200 OK&quot;);
header(&quot;Content-type: text/html&quot;); ?>
<html>...

before you output any HTML!


===========================================
Small footprint P2P web server for Windows,
File-sharing, PHP, wireless apps & more
===========================================
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top