| 
	
 | 
 Posted by Jim Carlock on 11/16/05 05:26 
"Jerry Stuckle" <jstucklex@attglobal.net> posted: 
> There is no "default" page in Apache, other than what 
> you specify in the httpd.conf file. Often this is index.html, 
> default.htm or similar - but it's whatever you specify. 
 
Thanks Jerry. 
 
Another question to anyone that has an answer... 
 
<?php 
require ("doctype.htm"); 
$sDoc=$sDocType.'<html>\r\n<head>\r\n'; 
$sDoc.='<title>Test.php</title>\r\n'; 
$sDoc.='</head>\r\n'; 
$sDoc.='<body>\r\n'; 
$sDoc.='<p align="center">hello world</p>\r\n'; 
$sDoc.='</body>\r\n'; 
$sDoc.='</html>\r\n'; 
echo ($sDoc); 
?> 
 
How do I add a newline using PHP? Also, CAN the 
httpd.conf file be accessed via PHP? Or if there's a 
client-based (web/subweb-based) file rather than the 
system-wide based file, what's the name and can I 
get to via PHP? 
 
-- 
Jim Carlock 
Post replies to the newsgroup, thanks.
 
  
Navigation:
[Reply to this message] 
 |